diff options
| author | Haishan <[email protected]> | 2020-06-07 18:15:07 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2020-06-07 18:41:12 +0800 |
| commit | e864feb4016739c0f5f2925257d2e7a6dc88f74d (patch) | |
| tree | 266cb906a5f17331db5ff28f6bf49ae91f8e1789 /src/components/ToggleSwitch.module.css | |
| parent | 201f6904c2d822d4d862ba39b8706de726eb7148 (diff) | |
fix: mode not display correctly due to clash API change
for https://github.com/haishanh/yacd/issues/491
Diffstat (limited to 'src/components/ToggleSwitch.module.css')
| -rw-r--r-- | src/components/ToggleSwitch.module.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/ToggleSwitch.module.css b/src/components/ToggleSwitch.module.css index 78a2b41..9103fab 100644 --- a/src/components/ToggleSwitch.module.css +++ b/src/components/ToggleSwitch.module.css @@ -5,6 +5,11 @@ background: var(--color-toggle-bg); display: flex; position: relative; + outline: none; + + &:focus { + border-color: var(--color-focus-blue); + } input { position: absolute; @@ -13,7 +18,6 @@ } label { - flex: 1; z-index: 2; display: flex; align-items: center; |
