File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @primer/css " : patch
3+ ---
4+
5+ Improve focus state for .SideNav and .menu
Original file line number Diff line number Diff line change 3333 & ::before { border-bottom-left-radius : $border-radius ; }
3434 }
3535
36- & :focus ,
36+ & :focus {
37+ z-index : 1 ;
38+ outline : none ;
39+ box-shadow : var (--color-state-focus-shadow );
40+ }
41+
3742 & :hover {
3843 text-decoration : none ;
3944 background-color : var (--color-state-hover-secondary-bg );
40- outline : none ;
4145 }
4246
4347 & :active {
Original file line number Diff line number Diff line change 4343
4444// States
4545
46- .SideNav-item :hover ,
4746.SideNav-item :focus {
47+ z-index : 1 ;
48+ outline : none ;
49+ box-shadow : var (--color-state-focus-shadow );
50+ }
51+
52+ .SideNav-item :hover {
4853 text-decoration : none ;
4954 background-color : var (--color-state-hover-secondary-bg );
5055 outline : none ;
You can’t perform that action at this time.
0 commit comments