mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 16:44:26 +00:00
Merge pull request #2502 from bkcsoft/fix/split-view-diff
Split view fixed
This commit is contained in:
commit
566163ab82
@ -809,6 +809,9 @@ pre.wrap {
|
||||
.ui.right {
|
||||
float: right;
|
||||
}
|
||||
.ui.container.fluid.padded {
|
||||
padding: 0 10px 0 10px;
|
||||
}
|
||||
.ui .text.red {
|
||||
color: #d95c5c !important;
|
||||
}
|
||||
|
@ -101,6 +101,14 @@ pre {
|
||||
float: right;
|
||||
}
|
||||
|
||||
&.container {
|
||||
&.fluid {
|
||||
&.padded {
|
||||
padding: 0 10px 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.text {
|
||||
&.red {
|
||||
color: #d95c5c !important;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="repository diff">
|
||||
{{template "repo/header" .}}
|
||||
<div class="ui container">
|
||||
<div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}">
|
||||
{{if .IsDiffCompare }}
|
||||
{{template "repo/commits_table" .}}
|
||||
{{else}}
|
||||
|
Loading…
Reference in New Issue
Block a user