File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11< div class ="example ">
2- < p > Options without radio check options</ p >
32 < div part ="area " tabindex ="0 ">
43 Right Click or Context Menu Key
54 </ div >
Original file line number Diff line number Diff line change 1313 left : calc (anchor (right) + 0.25rem );
1414 min-width : calc (anchor-size (width) + calc (2 * var (--pg-menu-padding , 0.25rem )));
1515 margin : var (--pg-overlay-menu-_y , 0 ) 0 0 var (--pg-overlay-menu-_x , 0 );
16- }
16+ }
Original file line number Diff line number Diff line change 1313 left : calc (anchor (right) - 0.25rem );
1414 min-width : 10rem ;
1515 translate : var (--pg-overlay-menu-_x , 0 ) var (--pg-overlay-menu-_y , 0 );
16+ position-try-fallbacks : --custom-right , --custom-left ;
17+ inset : auto;
18+ }
19+
20+ @position-try --custom-right {
21+ top : calc (anchor (top) - 0.25rem );
22+ left : calc (anchor (right) - 0.25rem );
23+ }
24+
25+ @position-try --custom-left {
26+ top : calc (anchor (top) - 0.25rem );
27+ left : calc (anchor (left) - anchor-size (width) + 0.25rem );
1628}
You can’t perform that action at this time.
0 commit comments