mirror of
https://github.com/primer/css.git
synced 2024-12-23 14:13:14 +03:00
Update CSS for breadcrumb slash separator
This commit is contained in:
parent
e02694d1ba
commit
30597af94d
5
.changeset/violet-peaches-retire.md
Normal file
5
.changeset/violet-peaches-retire.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'@primer/css': patch
|
||||
---
|
||||
|
||||
Ensures that the visual slash separator for breadcrumbs is not announced by screenreaders.
|
@ -6,10 +6,12 @@
|
||||
list-style: none;
|
||||
|
||||
&::after {
|
||||
padding-right: $em-spacer-5;
|
||||
padding-left: $em-spacer-5;
|
||||
color: var(--color-text-disabled);
|
||||
content: "/";
|
||||
margin: 0 $em-spacer-5;
|
||||
display: inline-block;
|
||||
transform: rotate(15deg);
|
||||
border-right: 0.1em solid var(--color-text-disabled);;
|
||||
height: 0.8em;
|
||||
content: '';
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
|
Loading…
Reference in New Issue
Block a user