Skip to content

Commit

Permalink
fix: update style on aria-current item and adjust margin on last item (
Browse files Browse the repository at this point in the history
…#16238)

* update style on aria-current item and adjust margin on last item

* Change files
  • Loading branch information
khamudom authored Dec 16, 2020
1 parent d512cd6 commit de2be83
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "update style on aria-current item and adjust margin on last item",
"packageName": "@fluentui/web-components",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-12-15T23:09:46.906Z"
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,18 @@ export const BreadcrumbItemStyles = css`
height: calc(var(--focus-outline-width) * 1px);
}
:host(:not([href])) {
:host(:not([href])),
:host([aria-current]) .control {
font-weight: 600;
color: ${neutralForegroundRestBehavior.var};
fill: currentcolor;
margin-inline-start: 11px;
cursor: default;
}
:host([aria-current]) .control:hover .content::before {
background: ${neutralForegroundRestBehavior.var};
}
.start {
display: flex;
margin-inline-end: 6px;
Expand Down

0 comments on commit de2be83

Please sign in to comment.