Commit 90d77a1a authored by Paul Slaughter's avatar Paul Slaughter

Merge branch '207934-snippet-embed-scrolling' into 'master'

Resolve "Embedded snippets numbering and scrolling is off"

Closes #207934

See merge request gitlab-org/gitlab!32411
parents 3a0b5f4d 13744cf4
...@@ -40,10 +40,9 @@ ...@@ -40,10 +40,9 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
table-layout: fixed; table-layout: fixed;
.blob-content {
overflow-x: auto; overflow-x: auto;
.blob-content {
pre { pre {
height: 100%; height: 100%;
padding: 10px; padding: 10px;
...@@ -61,6 +60,7 @@ ...@@ -61,6 +60,7 @@
font-family: $monospace-font; font-family: $monospace-font;
font-size: $code-font-size; font-size: $code-font-size;
line-height: $code-line-height; line-height: $code-line-height;
display: inline-block;
} }
} }
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
font-family: $monospace-font; font-family: $monospace-font;
display: block; display: block;
font-size: $code-font-size; font-size: $code-font-size;
min-height: $code-line-height; line-height: $code-line-height;
white-space: nowrap; white-space: nowrap;
color: $black-transparent; color: $black-transparent;
min-width: 30px; min-width: 30px;
......
---
title: Fix display of embedded snippets
merge_request: 32411
author: Jan Beckmann
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment