Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 10:46:10 +01:00

Merge pull request #2502 from bkcsoft/fix/split-view-diff

Split view fixed
This commit is contained in:
Unknwon 2016-01-28 10:11:45 -05:00
commit 566163ab82
3 changed files with 12 additions and 1 deletions

View file

@ -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;
}

View file

@ -101,6 +101,14 @@ pre {
float: right;
}
&.container {
&.fluid {
&.padded {
padding: 0 10px 0 10px;
}
}
}
.text {
&.red {
color: #d95c5c !important;

View file

@ -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}}