Skip to content

Commit

Permalink
fixed banner style
Browse files Browse the repository at this point in the history
related to keycloak#33349

Signed-off-by: Erik Jan de Wit <[email protected]>
  • Loading branch information
edewit committed Jan 6, 2025
1 parent 0535c76 commit bd92595
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/apps/admin-ui/src/Banners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const WarnBanner = ({ msg }: WarnBannerProps) => {
const { t } = useTranslation();

return (
<Banner screenReaderText={t(msg)} variant="gold" isSticky>
<Banner screenReaderText={t(msg)} variant="gold" className={style.banner}>
<Flex
spaceItems={{ default: "spaceItemsSm" }}
flexWrap={{ default: "wrap" }}
Expand Down
4 changes: 4 additions & 0 deletions js/apps/admin-ui/src/banner.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

.banner {
grid-area: banners;
}
8 changes: 8 additions & 0 deletions js/apps/admin-ui/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ input[type="checkbox"] {

#app {
overflow: hidden;
grid-column-start: banners;
"banners banners"
"header header"
"nav main";
}

.pf-v5-c-page__sidebar {
grid-row-start: 3;
}

div.w-tc-editor {
Expand Down

0 comments on commit bd92595

Please sign in to comment.