Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-01-18 22:46:40 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-01-18 22:50:22 +0300
commite88cde4883eb5c33e6fb15e30ce03be565622da1 (patch)
tree099d7035fc7c95f6368965c9be35fc52eedf641a
parent91374baf8685cc58bb7334ed131bc223ad0875e2 (diff)
Add text-decoration-skip: ink to all underlined elements
-rw-r--r--app/assets/stylesheets/framework/layout.scss8
-rw-r--r--changelogs/unreleased/41814-text-decoration-skip.yml5
2 files changed, 12 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/layout.scss b/app/assets/stylesheets/framework/layout.scss
index fab3270b9f5..8d0651c2383 100644
--- a/app/assets/stylesheets/framework/layout.scss
+++ b/app/assets/stylesheets/framework/layout.scss
@@ -1,10 +1,16 @@
html {
overflow-y: scroll;
- &.touch .tooltip { display: none !important; }
+ &.touch .tooltip {
+ display: none !important;
+ }
}
body {
+ // Improves readability for dyslexic users
+ // Supported only in Chrome/Safari so far
+ text-decoration-skip: ink;
+
&.navless {
background-color: $white-light !important;
}
diff --git a/changelogs/unreleased/41814-text-decoration-skip.yml b/changelogs/unreleased/41814-text-decoration-skip.yml
new file mode 100644
index 00000000000..3e39d26be93
--- /dev/null
+++ b/changelogs/unreleased/41814-text-decoration-skip.yml
@@ -0,0 +1,5 @@
+---
+title: Improve readability of underlined links for dyslexic users
+merge_request:
+author:
+type: other