diff options
author | Dimitrie Hoekstra <dimitrie@gitlab.com> | 2019-11-27 17:51:33 +0000 |
---|---|---|
committer | Dimitrie Hoekstra <dimitrie@gitlab.com> | 2019-11-27 17:51:33 +0000 |
commit | 7947ffb000dce02e8d8f0e2454fb216339aeabc6 (patch) | |
tree | 101d1a6108556301809a85b7aa4225dc1ec422bc | |
parent | a98649b71085bcd21af674a47d6a746336c56a65 (diff) | |
download | gitlab-ce-align-snippet-embed-font.tar.gz |
Align embedded snippets with GitLab mono space fontalign-snippet-embed-font
-rw-r--r-- | app/assets/stylesheets/snippets.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/stylesheets/snippets.scss b/app/assets/stylesheets/snippets.scss index bd777c66b56..546b7e820f1 100644 --- a/app/assets/stylesheets/snippets.scss +++ b/app/assets/stylesheets/snippets.scss @@ -33,6 +33,9 @@ } .file-content.code { + font-family: $monospace-font; + font-size: $code-font-size; + line-height: $code-line-height; border: $border-style; border-radius: 0 0 4px 4px; display: flex; @@ -48,9 +51,6 @@ padding: 10px; border: 0; border-radius: 0; - font-family: $monospace-font; - font-size: $code-font-size; - line-height: $code-line-height; margin: 0; overflow: auto; overflow-y: hidden; |