diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2017-07-18 14:43:06 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-07-18 14:43:06 +0000 |
commit | 79dcaec6eddad2e5d370f9c4ecf2de24ff7980e8 (patch) | |
tree | b12bd4136105d2990de8334a5e34a1086b44bc2d | |
parent | 11f9ac0a48b62cef25eedede4c1819964f08d5ce (diff) | |
parent | f10c4c72e221a709f3a32a994d04a147196db8a7 (diff) | |
download | gitlab-ce-79dcaec6eddad2e5d370f9c4ecf2de24ff7980e8.tar.gz |
Merge branch 'master' into 'master'
reset text-align to initial to let elements with dir="auto" align texts to right…
Closes #13281
See merge request !12892
-rw-r--r-- | app/assets/stylesheets/framework/typography.scss | 4 | ||||
-rw-r--r-- | changelogs/unreleased/12892-reset-css-text-align-to-initial-for-rtl.md | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss index 785b09e622f..77b7d901f9a 100644 --- a/app/assets/stylesheets/framework/typography.scss +++ b/app/assets/stylesheets/framework/typography.scss @@ -2,6 +2,10 @@ color: $gl-text-color; word-wrap: break-word; + [dir="auto"] { + text-align: initial; + } + a { color: $md-link-color; } diff --git a/changelogs/unreleased/12892-reset-css-text-align-to-initial-for-rtl.md b/changelogs/unreleased/12892-reset-css-text-align-to-initial-for-rtl.md new file mode 100644 index 00000000000..87e95240bba --- /dev/null +++ b/changelogs/unreleased/12892-reset-css-text-align-to-initial-for-rtl.md @@ -0,0 +1,4 @@ +--- +title: "reset text-align to initial to let elements with dir="auto" align texts to right in RTL languages ( default is left )" +merge_request: 12892 +author: goshhob |