Skip to content

Commit

Permalink
Fix #18825: Styles for the toggled state in the ToolbarButton added b…
Browse files Browse the repository at this point in the history
…ack (#18868)

* Fix #18825: Styles for the toggled state in the ToolbarButton added back

* Move style overrides to the toolbar button component
  • Loading branch information
gziolo authored Dec 2, 2019
1 parent 574e8ea commit b03317e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/components/src/toolbar-button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,19 @@
&:not(:disabled).is-active[data-subscript]::after {
color: $white;
}

&.is-active {
padding: 3px;
outline: none;
}

&.is-active > svg {
padding: 5px;
border-radius: $radius-round-rectangle;
height: 30px;
width: 30px;
box-sizing: border-box;
@include formatting-button-style__active;
}
}

0 comments on commit b03317e

Please sign in to comment.