summaryrefslogtreecommitdiffstats
path: root/app/common/styles/base/utility.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/common/styles/base/utility.scss')
-rw-r--r--app/common/styles/base/utility.scss17
1 files changed, 12 insertions, 5 deletions
diff --git a/app/common/styles/base/utility.scss b/app/common/styles/base/utility.scss
index 91c60d5..7a19475 100644
--- a/app/common/styles/base/utility.scss
+++ b/app/common/styles/base/utility.scss
@@ -15,7 +15,11 @@
float: right;
}
.clear-float {
- clear: both;
+ &::after {
+ content: " ";
+ display: block;
+ clear: both;
+ }
}
.error {
color: $error-color;
@@ -91,11 +95,14 @@
}
.accessible-text {
- height: 0;
- width: 0;
- position: absolute;
+ clip: rect(1px, 1px, 1px, 1px);
+ clip-path: inset(50%);
+ height: 1px;
+ width: 1px;
+ margin: -1px;
overflow: hidden;
- display: block;
+ padding: 0;
+ position: absolute;
}
.show-scroll {
OpenPOWER on IntegriCloud