diff options
| author | Haishan <[email protected]> | 2020-08-06 16:26:01 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2020-08-06 22:40:26 +0800 |
| commit | 2c9ee574ddd5d242021e5954ca6f6144f99eb7f2 (patch) | |
| tree | f085d8083f106f2decd1156c6ba715c34acd38ed /src/components/CollapsibleSectionHeader.module.css | |
| parent | 941224c13ba87d2c3f36fb86652f046a5c76e00d (diff) | |
refactor: improve a11y
Diffstat (limited to 'src/components/CollapsibleSectionHeader.module.css')
| -rw-r--r-- | src/components/CollapsibleSectionHeader.module.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/CollapsibleSectionHeader.module.css b/src/components/CollapsibleSectionHeader.module.css index 854a0c6..b654f35 100644 --- a/src/components/CollapsibleSectionHeader.module.css +++ b/src/components/CollapsibleSectionHeader.module.css @@ -2,10 +2,15 @@ display: flex; align-items: center; + &:focus { + outline: none; + } + .arrow { display: inline-flex; transform: rotate(0deg); transition: transform 0.3s; + &.isOpen { transform: rotate(180deg); } |
