mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-10-30 14:19:12 +01:00
Remove code-view class from diff view (#13011)
code-view class seems unecessary here as everything needed style wise comes from various diff classes. This allows comments and comment editor to be styled properly and fixes linked bug. Fixes #13010 Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
54dd28f159
commit
7a34fc0ae8
2 changed files with 2 additions and 1 deletions
|
@ -114,7 +114,7 @@
|
||||||
</h4>
|
</h4>
|
||||||
<div class="diff-file-body ui attached unstackable table segment">
|
<div class="diff-file-body ui attached unstackable table segment">
|
||||||
{{if ne $file.Type 4}}
|
{{if ne $file.Type 4}}
|
||||||
<div class="file-body file-code code-view has-context-menu code-diff {{if $.IsSplitStyle}}code-diff-split{{else}}code-diff-unified{{end}}">
|
<div class="file-body file-code has-context-menu code-diff {{if $.IsSplitStyle}}code-diff-split{{else}}code-diff-unified{{end}}">
|
||||||
<table class="chroma">
|
<table class="chroma">
|
||||||
<tbody>
|
<tbody>
|
||||||
{{if $isImage}}
|
{{if $isImage}}
|
||||||
|
|
|
@ -997,6 +997,7 @@ i.icon.centerlock {
|
||||||
color: rgba(27, 31, 35, .3);
|
color: rgba(27, 31, 35, .3);
|
||||||
width: 1%;
|
width: 1%;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
font-family: @monospaced-fonts, monospace;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
&.bottom-line {
|
&.bottom-line {
|
||||||
|
|
Loading…
Reference in a new issue