Skip to content

Commit 80c3d0e

Browse files
Fix: updating logo placement for mobile (#2256)
Co-authored-by: Paul Jankowski <[email protected]>
1 parent b72c933 commit 80c3d0e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/website/src/css/custom.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,17 @@ html[data-theme='dark'] {
2121
--ifm-menu-color-background-active: #21243d;
2222
}
2323

24+
/* override to fix some logo placement issues due to flex auto */
25+
.navbar__logo {
26+
flex: 0 0 100%;
27+
height: 2rem;
28+
margin-right: 0.5rem;
29+
}
30+
2431
/* DocSearch x Algolia logo */
2532
@media (max-width: 565px) {
2633
.navbar__logo .docsearch-nav-logo {
27-
width: 22%;
34+
width: 70%;
2835
height: auto;
2936
vertical-align: middle;
3037
}

0 commit comments

Comments
 (0)