diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
commit | 311b0269b4eb9839fa63f80c8d7a58f32b8138a0 (patch) | |
tree | 07e7870bca8aed6d61fdcc810731c50d2c40af47 /app/assets/stylesheets/framework/kbd.scss | |
parent | 27909cef6c4170ed9205afa7426b8d3de47cbb0c (diff) |
Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42
Diffstat (limited to 'app/assets/stylesheets/framework/kbd.scss')
-rw-r--r-- | app/assets/stylesheets/framework/kbd.scss | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/kbd.scss b/app/assets/stylesheets/framework/kbd.scss index 05991bc16fd..7dd0ae47834 100644 --- a/app/assets/stylesheets/framework/kbd.scss +++ b/app/assets/stylesheets/framework/kbd.scss @@ -12,4 +12,20 @@ kbd { border-image: none; border-radius: 3px; box-shadow: 0 -1px 0 var(--gray-200, $gray-200) inset; + + &.flat { + color: $code-color; + background-color: $gray-100; + border-color: var(--gray-10, $gray-10) var(--gray-10, $gray-10) var(--gray-50, $gray-50); + box-shadow: none; + border-radius: $border-radius-default; + font-family: $monospace-font; + font-size: $gl-font-size-small; + line-height: 1; + white-space: pre-wrap; + // Safari + word-wrap: break-word; + overflow-wrap: break-word; + word-break: keep-all; + } } |