File tree Expand file tree Collapse file tree 1 file changed +25
-8
lines changed Expand file tree Collapse file tree 1 file changed +25
-8
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ main a.edit-icon {
36
36
37
37
.sidebar-container {
38
38
--sidebar-width : min-content;
39
+
40
+ padding : 0 ;
39
41
}
40
42
41
43
.es-sidebar-content .table-of-contents : first-child {
@@ -194,25 +196,25 @@ section.event {
194
196
195
197
.search-results {
196
198
position : absolute;
197
- right : 0 ;
199
+ width : 100% ;
200
+ min-width : auto;
201
+ max-height : initial;
198
202
top : 100% ;
199
- width : 25vw ;
200
- min-width : 500px ;
201
203
background-color : white;
202
204
color : black;
203
205
border-radius : 8px ;
204
206
margin-top : 10px ;
205
207
border : 2px solid var (--color-card-border );
206
208
overflow-x : auto;
207
- max-height : 70dvh ;
208
209
z-index : 1 ;
209
210
}
210
211
211
- @media (width < = 500px) {
212
+ @media (width > 500px) {
212
213
.search-results {
213
- width : 95dvw ;
214
- min-width : auto;
215
- max-height : initial;
214
+ width : 25vw ;
215
+ min-width : 500px ;
216
+ right : 0 ;
217
+ max-height : 70dvh ;
216
218
}
217
219
}
218
220
@@ -322,6 +324,21 @@ table td {
322
324
323
325
/* End taken from guidemaker for search */
324
326
327
+ .scroll-to-top {
328
+ display : none; /* hidden on mobile */
329
+ }
330
+
331
+ @media (width < 845px) {
332
+ .es-sidebar [aria-expanded = "true" ] {
333
+ padding : var (--spacing-2 );
334
+ margin : var (--spacing-2 ) 0 0 0 ;
335
+ }
336
+
337
+ .es-sidebar-content {
338
+ margin-top : 0 ;
339
+ }
340
+ }
341
+
325
342
@media (width > = 845px) {
326
343
.es-header {
327
344
padding : 0 var (--spacing-4 );
You can’t perform that action at this time.
0 commit comments