Fixed username not wrapping (#3923)

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
agagancarczyk 2022-12-02 10:30:32 +00:00 committed by GitHub
parent 77ec5a4c5f
commit 8dde92e2fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View file

@ -33,6 +33,7 @@ import { UserIdentityProviderLinks } from "./UserIdentityProviderLinks";
import { UserRoleMapping } from "./UserRoleMapping";
import { UserSessions } from "./UserSessions";
import { UserProfileProvider } from "../realm-settings/user-profile/UserProfileContext";
import "./user-section.css";
const UsersTabs = () => {
const { t } = useTranslation("users");
@ -166,6 +167,7 @@ const UsersTabs = () => {
render={({ onChange, value }) => (
<ViewHeader
titleKey={user?.id ? user.username! : t("createUser")}
className="kc-username-view-header"
divider={!id}
dropdownItems={[
<DropdownItem

View file

@ -140,3 +140,6 @@ article.pf-c-card.pf-m-flat.kc-available-idps > div > div > h1 {
margin-bottom: var(--pf-global--spacer--2xl);
}
.kc-username-view-header {
overflow-wrap: anywhere;
}