Fixed username not wrapping (#3923)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
parent
77ec5a4c5f
commit
8dde92e2fd
2 changed files with 8 additions and 3 deletions
|
@ -33,6 +33,7 @@ import { UserIdentityProviderLinks } from "./UserIdentityProviderLinks";
|
||||||
import { UserRoleMapping } from "./UserRoleMapping";
|
import { UserRoleMapping } from "./UserRoleMapping";
|
||||||
import { UserSessions } from "./UserSessions";
|
import { UserSessions } from "./UserSessions";
|
||||||
import { UserProfileProvider } from "../realm-settings/user-profile/UserProfileContext";
|
import { UserProfileProvider } from "../realm-settings/user-profile/UserProfileContext";
|
||||||
|
import "./user-section.css";
|
||||||
|
|
||||||
const UsersTabs = () => {
|
const UsersTabs = () => {
|
||||||
const { t } = useTranslation("users");
|
const { t } = useTranslation("users");
|
||||||
|
@ -166,6 +167,7 @@ const UsersTabs = () => {
|
||||||
render={({ onChange, value }) => (
|
render={({ onChange, value }) => (
|
||||||
<ViewHeader
|
<ViewHeader
|
||||||
titleKey={user?.id ? user.username! : t("createUser")}
|
titleKey={user?.id ? user.username! : t("createUser")}
|
||||||
|
className="kc-username-view-header"
|
||||||
divider={!id}
|
divider={!id}
|
||||||
dropdownItems={[
|
dropdownItems={[
|
||||||
<DropdownItem
|
<DropdownItem
|
||||||
|
|
|
@ -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-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;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pf-c-card__body.kc-form-panel__body{
|
.pf-c-card__body.kc-form-panel__body {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pf-c-content.kc-no-providers-text{
|
.pf-c-content.kc-no-providers-text {
|
||||||
margin-top: calc(
|
margin-top: calc(
|
||||||
var(--pf-global--spacer--2xl) - var(--pf-global--spacer--sm)
|
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);
|
margin-bottom: var(--pf-global--spacer--2xl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.kc-username-view-header {
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue