Skip to content

Commit

Permalink
fix: increase slotted link specificity for colors (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Mar 8, 2019
1 parent 3dba85f commit 20ab5b6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion theme/lumo/vaadin-tab-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
opacity: 0;
}

:host ::slotted(a) {
:host ::slotted(a[href]) {
display: flex;
width: 100%;
justify-content: center;
Expand All @@ -123,6 +123,11 @@
outline: none;
}

:host ::slotted(a[href]:hover),
:host ::slotted(a[href]:focus) {
color: inherit;
}

:host ::slotted(iron-icon) {
margin: 0 4px;
width: var(--lumo-icon-size-m);
Expand Down

0 comments on commit 20ab5b6

Please sign in to comment.