diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-10-18 15:01:50 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-10-18 15:01:50 +0300 |
commit | d9b5214fd3a6f8c43a83e3432290cbf475cf3c74 (patch) | |
tree | 040b7f2fed46a9ecc322410d755b98a5e1f1a37b | |
parent | d9d2bce6920a03cb18153ed6e7b297626c21589c (diff) | |
parent | 08d1d3ecf408b8f6251b1864d0a7710c28bf3644 (diff) |
Merge branch 'fix-firefox-text-cutoff' into 'master'
Fix Firefox cuts off long <code>text</code>
Closes #431
See merge request gitlab-org/gitlab-docs!595
-rw-r--r-- | content/assets/stylesheets/highlight.scss | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/content/assets/stylesheets/highlight.scss b/content/assets/stylesheets/highlight.scss index dd15866f..a44529a9 100644 --- a/content/assets/stylesheets/highlight.scss +++ b/content/assets/stylesheets/highlight.scss @@ -1,5 +1,5 @@ --- -version: 6 +version: 7 --- /* https://github.com/idleberg/base16-pygments/blob/master/css/base16-ocean.dark.css */ @@ -15,7 +15,8 @@ pre.highlight { // Code itself code { - padding: 13px 33px 13px 15px; // 33px: the width of the .clip-btn + padding: 13px 0 13px 15px; + margin-right: 36px; // 36px: the width of the .clip-btn display: block; color: inherit; overflow-x: auto; |