File tree Expand file tree Collapse file tree
packages/dockview-core/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727.dv-tab {
2828 flex-shrink : 0 ;
2929
30- & :focus-within ,
31- & :focus {
30+ // Keyboard-only focus ring: :focus-visible suppresses it on mouse click,
31+ // :has(:focus-visible) keeps it when a child (e.g. the close button) is
32+ // keyboard-focused — the descendant case the old :focus-within covered.
33+ & :focus-visible ,
34+ & :has (:focus-visible ) {
3235 position : relative ;
3336
3437 & ::after {
Original file line number Diff line number Diff line change 6868 cursor : pointer ;
6969 }
7070
71- & :focus ,
72- & :focus-within {
71+ & :focus-visible ,
72+ & :has ( : focus-visible ) {
7373 & :before {
7474 position : absolute ;
7575 top : 0 ;
9494 position : relative ;
9595 outline : none ;
9696
97- & :focus ,
98- & :focus-within {
97+ & :focus-visible ,
98+ & :has ( : focus-visible ) {
9999 & :before {
100100 position : absolute ;
101101 top : 0 ;
You can’t perform that action at this time.
0 commit comments