-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(playground): use radio buttons for theme switcher (#2941)
- Loading branch information
Uladzislau Sakalou
authored
Nov 16, 2021
1 parent
6a42918
commit 8f6de5a
Showing
4 changed files
with
35 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
src/app/layout-theme-toggle/layout-theme-toggle.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
:host { | ||
display: block; | ||
padding: 0.5em; | ||
} | ||
|
||
button { | ||
margin-right: 0.25rem; | ||
} | ||
|
||
label { | ||
margin: 0; | ||
} | ||
.theme-radio-label { | ||
margin-right: 0.25rem; | ||
} | ||
|
||
.theme-radio { | ||
margin: 0.125rem 0.125rem 0 0; | ||
vertical-align: top; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters