summaryrefslogtreecommitdiff
path: root/src/components/Root.css
diff options
context:
space:
mode:
authorHaishan <[email protected]>2020-11-21 23:31:14 +0800
committerHaishan <[email protected]>2020-11-21 23:31:14 +0800
commit10f6e708e5a5b7fe68d30b86aeaf455d1e1d7daa (patch)
treebe1006dc9820658a33efd4487da4b28f0aadb5ea /src/components/Root.css
parent71646e2881ba221788c0ca16d05137ed8f191fae (diff)
chore: improve a11y of traffic chart style selection
Diffstat (limited to 'src/components/Root.css')
-rw-r--r--src/components/Root.css12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/components/Root.css b/src/components/Root.css
index fe837de..39562cf 100644
--- a/src/components/Root.css
+++ b/src/components/Root.css
@@ -156,10 +156,20 @@ body.light {
justify-content: center;
}
-/* TODO remove fabgrp in component css files */
.fabgrp {
position: fixed;
z-index: 3;
right: 20px;
bottom: 20px;
}
+
+.visually-hidden {
+ position: absolute;
+ overflow: hidden;
+ clip: rect(0 0 0 0);
+ width: 1px;
+ height: 1px;
+ margin: -1px;
+ border: 0;
+ padding: 0;
+}