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

@ -124,15 +124,15 @@ article.pf-c-card.pf-m-flat.kc-available-idps > div > div > h1 {
--pf-c-form--m-horizontal__group-label--md--GridColumnWidth: 13rem;
}
.pf-c-card__header.kc-form-panel__header{
.pf-c-card__header.kc-form-panel__header {
padding-bottom: 0;
}
.pf-c-card__body.kc-form-panel__body{
.pf-c-card__body.kc-form-panel__body {
padding-bottom: 0;
}
.pf-c-content.kc-no-providers-text{
.pf-c-content.kc-no-providers-text {
margin-top: calc(
var(--pf-global--spacer--2xl) - var(--pf-global--spacer--sm)
);
@ -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;
}