summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorDavid Schneiderbauer <daviian@users.noreply.github.com>2017-09-14 08:12:56 +0200
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-09-14 08:12:56 +0200
commita89692d15884271a2927b5f7332ed074116d324c (patch)
tree9e2efe474d6c2f905362f527bd5668f053d3bef8 /public
parent633de01cf74125a692a59e89812c6ffffc98bb1f (diff)
downloadgitea-a89692d15884271a2927b5f7332ed074116d324c.tar.gz
gitea-a89692d15884271a2927b5f7332ed074116d324c.zip
fix wrong rendering of commit detail page (#2503)
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
Diffstat (limited to 'public')
-rw-r--r--public/css/index.css12
-rw-r--r--public/less/_repository.less2
2 files changed, 7 insertions, 7 deletions
diff --git a/public/css/index.css b/public/css/index.css
index 30a5f8e605..ffc7fe1a19 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -2063,16 +2063,16 @@ footer .ui.language .menu {
.repository .diff-detail-box span.status.rename {
background-color: #dad8ff;
}
-.repository .diff-box {
+.repository .diff-box .header {
display: flex;
align-items: center;
}
-.repository .diff-box .count {
+.repository .diff-box .header .count {
margin-right: 12px;
font-size: 13px;
flex: 0 0 auto;
}
-.repository .diff-box .count .bar {
+.repository .diff-box .header .count .bar {
background-color: #bd2c00;
height: 12px;
width: 40px;
@@ -2080,16 +2080,16 @@ footer .ui.language .menu {
margin: 2px 4px 0 4px;
vertical-align: text-top;
}
-.repository .diff-box .count .bar .add {
+.repository .diff-box .header .count .bar .add {
background-color: #55a532;
height: 12px;
}
-.repository .diff-box .file {
+.repository .diff-box .header .file {
flex: 0 1 100%;
color: #888;
word-break: break-all;
}
-.repository .diff-box .button {
+.repository .diff-box .header .button {
margin: -5px 0 -5px 12px;
padding: 8px 10px;
flex: 0 0 auto;
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 8490228b47..34fdc26092 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -887,7 +887,7 @@
}
}
}
- .diff-box {
+ .diff-box .header {
display: flex;
align-items: center;