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 {
3636
3737.sidebar-container {
3838 --sidebar-width : min-content;
39+
40+ padding : 0 ;
3941}
4042
4143.es-sidebar-content .table-of-contents : first-child {
@@ -194,25 +196,25 @@ section.event {
194196
195197.search-results {
196198 position : absolute;
197- right : 0 ;
199+ width : 100% ;
200+ min-width : auto;
201+ max-height : initial;
198202 top : 100% ;
199- width : 25vw ;
200- min-width : 500px ;
201203 background-color : white;
202204 color : black;
203205 border-radius : 8px ;
204206 margin-top : 10px ;
205207 border : 2px solid var (--color-card-border );
206208 overflow-x : auto;
207- max-height : 70dvh ;
208209 z-index : 1 ;
209210}
210211
211- @media (width < = 500px) {
212+ @media (width > 500px) {
212213 .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 ;
216218 }
217219}
218220
@@ -322,6 +324,21 @@ table td {
322324
323325/* End taken from guidemaker for search */
324326
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+
325342@media (width > = 845px) {
326343 .es-header {
327344 padding : 0 var (--spacing-4 );
You can’t perform that action at this time.
0 commit comments