diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-20 16:37:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-20 16:37:47 +0300 |
commit | aee0a117a889461ce8ced6fcf73207fe017f1d99 (patch) | |
tree | 891d9ef189227a8445d83f35c1b0fc99573f4380 /app/assets/stylesheets/framework/typography.scss | |
parent | 8d46af3258650d305f53b819eabf7ab18d22f59e (diff) |
Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42
Diffstat (limited to 'app/assets/stylesheets/framework/typography.scss')
-rw-r--r-- | app/assets/stylesheets/framework/typography.scss | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss index cb36c4e5767..16ff4b81f95 100644 --- a/app/assets/stylesheets/framework/typography.scss +++ b/app/assets/stylesheets/framework/typography.scss @@ -625,6 +625,7 @@ body { /** CODE **/ pre { + @include gl-relative; font-family: $monospace-font; display: block; padding: $gl-padding-8 $input-horizontal-padding; @@ -636,6 +637,11 @@ pre { background-color: $gray-light; border: 1px solid $gray-100; border-radius: $border-radius-small; + + // Select only code elements that will have the copy code button + .markdown-code-block & { + padding: $input-horizontal-padding; + } } code { |