Split view fixedtags/v1.2.0-rc1
@@ -809,6 +809,9 @@ pre.wrap { | |||||
.ui.right { | .ui.right { | ||||
float: right; | float: right; | ||||
} | } | ||||
.ui.container.fluid.padded { | |||||
padding: 0 10px 0 10px; | |||||
} | |||||
.ui .text.red { | .ui .text.red { | ||||
color: #d95c5c !important; | color: #d95c5c !important; | ||||
} | } | ||||
@@ -101,6 +101,14 @@ pre { | |||||
float: right; | float: right; | ||||
} | } | ||||
&.container { | |||||
&.fluid { | |||||
&.padded { | |||||
padding: 0 10px 0 10px; | |||||
} | |||||
} | |||||
} | |||||
.text { | .text { | ||||
&.red { | &.red { | ||||
color: #d95c5c !important; | color: #d95c5c !important; | ||||
@@ -1,7 +1,7 @@ | |||||
{{template "base/head" .}} | {{template "base/head" .}} | ||||
<div class="repository diff"> | <div class="repository diff"> | ||||
{{template "repo/header" .}} | {{template "repo/header" .}} | ||||
<div class="ui container"> | |||||
<div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}"> | |||||
{{if .IsDiffCompare }} | {{if .IsDiffCompare }} | ||||
{{template "repo/commits_table" .}} | {{template "repo/commits_table" .}} | ||||
{{else}} | {{else}} | ||||