fixed ay11 issue (#2933)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
parent
f1705380fa
commit
91b7c35d3b
2 changed files with 11 additions and 26 deletions
|
@ -10,6 +10,7 @@ import {
|
||||||
PageSection,
|
PageSection,
|
||||||
Tab,
|
Tab,
|
||||||
TabTitleText,
|
TabTitleText,
|
||||||
|
Tooltip,
|
||||||
} from "@patternfly/react-core";
|
} from "@patternfly/react-core";
|
||||||
|
|
||||||
import type RealmRepresentation from "@keycloak/keycloak-admin-client/lib/defs/realmRepresentation";
|
import type RealmRepresentation from "@keycloak/keycloak-admin-client/lib/defs/realmRepresentation";
|
||||||
|
@ -44,7 +45,6 @@ import { PartialImportDialog } from "./PartialImport";
|
||||||
import { PartialExportDialog } from "./PartialExport";
|
import { PartialExportDialog } from "./PartialExport";
|
||||||
import { RealmSettingsTab, toRealmSettings } from "./routes/RealmSettings";
|
import { RealmSettingsTab, toRealmSettings } from "./routes/RealmSettings";
|
||||||
import { LocalizationTab } from "./LocalizationTab";
|
import { LocalizationTab } from "./LocalizationTab";
|
||||||
import { HelpItem } from "../components/help-enabler/HelpItem";
|
|
||||||
import { UserRegistration } from "./UserRegistration";
|
import { UserRegistration } from "./UserRegistration";
|
||||||
import { toDashboard } from "../dashboard/routes/Dashboard";
|
import { toDashboard } from "../dashboard/routes/Dashboard";
|
||||||
import environment from "../environment";
|
import environment from "../environment";
|
||||||
|
@ -363,16 +363,11 @@ export const RealmSettingsTabs = ({
|
||||||
id="profiles"
|
id="profiles"
|
||||||
data-testid="rs-policies-clientProfiles-tab"
|
data-testid="rs-policies-clientProfiles-tab"
|
||||||
aria-label={t("clientProfilesSubTab")}
|
aria-label={t("clientProfilesSubTab")}
|
||||||
title={
|
title={<TabTitleText>{t("profiles")}</TabTitleText>}
|
||||||
<TabTitleText>
|
tooltip={
|
||||||
{t("profiles")}
|
<Tooltip
|
||||||
<span className="kc-help-text">
|
content={t("realm-settings:clientPoliciesProfilesHelpText")}
|
||||||
<HelpItem
|
/>
|
||||||
helpText="realm-settings:clientPoliciesProfilesHelpText"
|
|
||||||
fieldLabelId="realm-settings:clientPoliciesProfiles"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</TabTitleText>
|
|
||||||
}
|
}
|
||||||
{...policiesRoute("profiles")}
|
{...policiesRoute("profiles")}
|
||||||
>
|
>
|
||||||
|
@ -383,16 +378,11 @@ export const RealmSettingsTabs = ({
|
||||||
data-testid="rs-policies-clientPolicies-tab"
|
data-testid="rs-policies-clientPolicies-tab"
|
||||||
aria-label={t("clientPoliciesSubTab")}
|
aria-label={t("clientPoliciesSubTab")}
|
||||||
{...policiesRoute("policies")}
|
{...policiesRoute("policies")}
|
||||||
title={
|
title={<TabTitleText>{t("policies")}</TabTitleText>}
|
||||||
<TabTitleText>
|
tooltip={
|
||||||
{t("policies")}
|
<Tooltip
|
||||||
<span className="kc-help-text">
|
content={t("realm-settings:clientPoliciesPoliciesHelpText")}
|
||||||
<HelpItem
|
/>
|
||||||
helpText="realm-settings:clientPoliciesPoliciesHelpText"
|
|
||||||
fieldLabelId="realm-settings:clientPoliciesPolicies"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</TabTitleText>
|
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<PoliciesTab />
|
<PoliciesTab />
|
||||||
|
|
|
@ -180,11 +180,6 @@ article.pf-c-card.pf-m-flat.kc-login-settings-template
|
||||||
padding: var(--pf-global--spacer--sm);
|
padding: var(--pf-global--spacer--sm);
|
||||||
}
|
}
|
||||||
|
|
||||||
.kc-help-text {
|
|
||||||
margin: var(--pf-global--spacer--sm);
|
|
||||||
font-size: var(--pf-global--FontSize--sm);
|
|
||||||
}
|
|
||||||
|
|
||||||
.kc-profiles-config-section {
|
.kc-profiles-config-section {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue