Skip to content

Commit f192cfd

Browse files
committed
Fix mobile search button padding and darkmode dropdown menu
1 parent f1aa847 commit f192cfd

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

src/css/custom.css

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,16 @@ html[data-theme='dark'] {
8686
height: 20px;
8787
}
8888

89-
.DocSearch-Button {
90-
padding: 0 8px 0 12px !important;
89+
@media (min-width: 997px) {
90+
.DocSearch-Button {
91+
padding: 0 8px 0 12px !important;
92+
}
93+
}
94+
95+
@media (max-width: 996px) {
96+
.DocSearch-Button {
97+
padding: 0 12px !important;
98+
}
9199
}
92100

93101
.DocSearch-Button-Container svg {
@@ -215,6 +223,11 @@ html[data-theme='dark'] {
215223
background-color: var(--white);
216224
border: 1px solid var(--zinc-300);
217225
}
226+
227+
[data-theme='dark'] .tocCollapsible_ETCw.tocMobile_ITEo {
228+
background-color: var(--zinc-900);
229+
border: 1px solid var(--zinc-600);
230+
}
218231

219232
.clean-btn.tocCollapsibleButton_TO0P {
220233
padding: 0.8rem 1rem;

0 commit comments

Comments
 (0)