Fix search button styling, page title width, and sticky content rendering

Add blue background/hover styles to the search button matching Angular's
.color.blue button pattern. Fix page title width to calc(100% - 120px)
matching Angular layout. Conditionally render sticky-content wrapper
to avoid empty DOM nodes.
This commit is contained in:
2026-04-15 19:25:09 +03:00
parent 781e076524
commit 1b11609c50
3 changed files with 20 additions and 3 deletions
@@ -150,10 +150,21 @@
margin-top: vars.$space-xl;
width: 100%;
height: vars.$standard-button-height;
background-color: colors.$blue;
color: colors.$white;
border: none;
border-radius: vars.$border-radius;
cursor: pointer;
transition-duration: 0.2s;
&:hover {
background-color: colors.$blue--hover;
}
span {
font-weight: fonts.$font-bold;
font-size: fonts.$font-size-m;
color: colors.$white;
}
}
+4
View File
@@ -87,6 +87,10 @@
}
&__title {
width: calc(100% - 120px);
}
&__title--fullwidth {
width: 100%;
}
+5 -3
View File
@@ -45,9 +45,11 @@ export const PageLayout: FC<PageLayoutProps> = ({
{contentLeft}
</aside>
<main className="page-layout__column-right">
<div className="page-layout__sticky-content">
{stickyContent}
</div>
{stickyContent && (
<div className="page-layout__sticky-content">
{stickyContent}
</div>
)}
{children}
</main>
</div>