File tree Expand file tree Collapse file tree 1 file changed +25
-16
lines changed
Expand file tree Collapse file tree 1 file changed +25
-16
lines changed Original file line number Diff line number Diff line change 3737 }
3838
3939 [popover ] .nav--list__item {
40- & a {
41- display : flex;
42- flex-direction : row;
43- align-items : center;
44- gap : 0.5rem ;
45- transition : all 0.2s ease;
46- }
40+ display : flex;
41+ align-items : center;
42+ padding : 0.25rem ;
43+ transition : all 0.2s ease;
44+ }
45+
46+ [popover ] .nav--list__item a {
47+ display : flex;
48+ flex-direction : row;
49+ align-items : center;
50+ gap : 0.5rem ;
51+ padding : 0.5rem ;
52+ transition : all 0.2s ease;
4753 }
4854
4955 [popover ] .nav--list__item .active {
94100
95101 & a {
96102 justify-content : center;
97- padding : 0.5rem ;
98103 }
99104
100105 & .text {
128133 border : 2px solid # 0000 ;
129134 }
130135
131- [popover ] .nav--list__item {
132- display : flex;
133- align-items : center;
134- padding : 0.25rem 0.75rem ;
135- transition : all 0.2s ease;
136- }
137-
138136 [popover ] ul {
139137 list-style-position : inside;
140138 padding : 0 ;
266264
267265 .actions {
268266 justify-content : flex-end;
269- position : absolute ;
267+ position : sticky ;
270268 bottom : 0 ;
269+ z-index : 1 ;
271270 right : 0 ;
272271 left : 0 ;
273272 translate : 0 calc (clamp (0 , var (--ty ), var (--distance ) - 88 ) * -1px );
443442 padding : 1rem ;
444443 border-top : 1px solid var (--border );
445444 margin-top : auto;
445+ position : sticky;
446+ bottom : 0 ;
447+ z-index : 1 ;
446448
447449 button {
448450 width : 44px ;
490492 [data-debug = "false" ] .debug-toggle g : first-of-type {
491493 display : block;
492494 }
495+
496+ [popover ] nav {
497+ overflow-y : auto;
498+ overflow-x : hidden;
499+ flex : 1 ;
500+ padding-bottom : 1rem ;
501+ }
493502}
You can’t perform that action at this time.
0 commit comments