diff options
| author | Henry Jameson <me@hjkos.com> | 2020-05-25 17:11:30 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-05-25 17:11:30 +0300 |
| commit | 0eea5c6b80c1fcd9f99636599e484bac8845e075 (patch) | |
| tree | cda36e1875b7fec860e380af88254b0b86a958a1 /src/components/tab_switcher | |
| parent | 500511b41534e051803db8731a6e6315447d5854 (diff) | |
fix icon changing color
Diffstat (limited to 'src/components/tab_switcher')
| -rw-r--r-- | src/components/tab_switcher/tab_switcher.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/tab_switcher/tab_switcher.scss b/src/components/tab_switcher/tab_switcher.scss index 129a68b7..479fb686 100644 --- a/src/components/tab_switcher/tab_switcher.scss +++ b/src/components/tab_switcher/tab_switcher.scss @@ -147,8 +147,10 @@ white-space: nowrap; padding: 6px 1em; - color: $fallback--text; - color: var(--tabText, $fallback--text); + &, &:active .tab-icon { + color: $fallback--text; + color: var(--tabText, $fallback--text); + } background-color: $fallback--fg; background-color: var(--tab, $fallback--fg); |
