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,7 @@ main a.edit-icon {
36
36
37
37
.sidebar-container {
38
38
--sidebar-width : min-content;
39
+ padding : 0 ;
39
40
}
40
41
41
42
.es-sidebar-content .table-of-contents : first-child {
@@ -194,25 +195,25 @@ section.event {
194
195
195
196
.search-results {
196
197
position : absolute;
197
- right : 0 ;
198
+ width : 100% ;
199
+ min-width : auto;
200
+ max-height : initial;
198
201
top : 100% ;
199
- width : 25vw ;
200
- min-width : 500px ;
201
202
background-color : white;
202
203
color : black;
203
204
border-radius : 8px ;
204
205
margin-top : 10px ;
205
206
border : 2px solid var (--color-card-border );
206
207
overflow-x : auto;
207
- max-height : 70dvh ;
208
208
z-index : 1 ;
209
209
}
210
210
211
- @media (width < = 500px) {
211
+ @media (width > 500px) {
212
212
.search-results {
213
- width : 95dvw ;
214
- min-width : auto;
215
- max-height : initial;
213
+ width : 25vw ;
214
+ min-width : 500px ;
215
+ right : 0 ;
216
+ max-height : 70dvh ;
216
217
}
217
218
}
218
219
@@ -322,6 +323,22 @@ table td {
322
323
323
324
/* End taken from guidemaker for search */
324
325
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