Skip to content

Commit edfb8f2

Browse files
committed
fix(docs): align navbar items vertically without changing search styles
1 parent ab1711f commit edfb8f2

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

src/css/custom.css

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -357,17 +357,11 @@ div[class^="sidebar_"] .menu__link.menu__link--active {
357357
}
358358

359359
/* Search */
360-
.DocSearch-Button {
361-
height: 36px;
362-
font-size: 0.875rem;
363-
border-radius: 12px;
364-
}
365-
.navbar__inner {
366-
padding-left: 24px;
367-
padding-right: 24px;
368-
}
369-
.navbar__item:hover {
370-
background-color: rgba(255, 145, 77, 0.08);
360+
.navbar__items--right {
361+
@apply justify-end ml-auto flex-row-reverse;
362+
gap: 13px;
363+
align-items: center;
364+
padding: 9px 0;
371365
}
372366

373367
.button.button--secondary.button--outline:not(.button--active):not(:hover) {
@@ -879,6 +873,4 @@ textarea {
879873

880874
.theme-back-to-top-button:hover {
881875
background-color: #e67643 !important;
882-
}
883-
884-
876+
}

0 commit comments

Comments
 (0)