Commit a78657a6 authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'repo-editor-ui-fix' into 'master'

Several repo editor fixes

Closes #36128, #36240, and #37733

See merge request !14126
parents f06d370b 6457f6c7
......@@ -71,6 +71,11 @@
height: 100%;
.monaco-editor.vs {
.current-line {
border: none;
background: $well-light-border;
}
.line-numbers {
cursor: pointer;
......@@ -84,6 +89,13 @@
}
}
.blob-no-preview {
.vertical-center {
justify-content: center;
width: 100%;
}
}
&.edit-mode {
.blob-viewer-container {
overflow: hidden;
......@@ -103,7 +115,7 @@
overflow: auto;
> div,
.file-content {
.file-content:not(.wiki) {
display: flex;
}
......
.file-content.blob_file.blob-no-preview
.center
.center.render-error.vertical-center
= link_to blob_raw_path do
%h1.light
= icon('download')
......
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