aboutsummaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorAlbert <w.albert221@gmail.com>2017-09-10 22:21:26 +0200
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-09-10 22:21:26 +0200
commit250f1236dc2455d5b5969f4bdc5ec0ab06ca81c0 (patch)
treed9e9219644affcf5fbfa97aa4b7fd7587cbf2948 /public/less
parentfd85e25f5f48823c4e65f3bd23662fd26d1398b3 (diff)
downloadgitea-250f1236dc2455d5b5969f4bdc5ec0ab06ca81c0.tar.gz
gitea-250f1236dc2455d5b5969f4bdc5ec0ab06ca81c0.zip
* Fix fileview rendering bug #2470 (#2477)
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_repository.less12
1 files changed, 12 insertions, 0 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 170eb4feb0..8490228b47 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -888,9 +888,13 @@
}
}
.diff-box {
+ display: flex;
+ align-items: center;
+
.count {
margin-right: 12px;
font-size: 13px;
+ flex: 0 0 auto;
.bar {
background-color: #bd2c00;
@@ -906,7 +910,15 @@
}
}
.file {
+ flex: 0 1 100%;
color: #888;
+ word-break: break-all;
+ }
+
+ .button {
+ margin: -5px 0 -5px 12px;
+ padding: 8px 10px;
+ flex: 0 0 auto;
}
}
.diff-file-box {