Commit 13744cf4 authored by Jan Beckmann's avatar Jan Beckmann

Fix scrolling and line numbers for embedded snippets

Closes #207934
parent f9ac8102
......@@ -40,10 +40,9 @@
margin: 0;
padding: 0;
table-layout: fixed;
overflow-x: auto;
.blob-content {
overflow-x: auto;
pre {
height: 100%;
padding: 10px;
......@@ -61,6 +60,7 @@
font-family: $monospace-font;
font-size: $code-font-size;
line-height: $code-line-height;
display: inline-block;
}
}
......@@ -73,7 +73,7 @@
font-family: $monospace-font;
display: block;
font-size: $code-font-size;
min-height: $code-line-height;
line-height: $code-line-height;
white-space: nowrap;
color: $black-transparent;
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