diff options
author | Cherrg <michael@gnehr.de> | 2019-07-06 23:37:46 +0200 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-07-06 22:37:46 +0100 |
commit | 5b92bc1bec26de0143efccf70927bc9e46f9101c (patch) | |
tree | ef538927ab929a63db7eddf5590816fd71377cde /public/less/_repository.less | |
parent | 7166629d9c2b71fe29a717a121bc080ba656cda2 (diff) | |
download | gitea-5b92bc1bec26de0143efccf70927bc9e46f9101c.tar.gz gitea-5b92bc1bec26de0143efccf70927bc9e46f9101c.zip |
ui - cut timeline length with last element on issue view (#7355)
* cut timeline length with last element on issue view
fix #7304
- lightly enlight dark theme issue timeline color
Signed-off-by: Michael Gnehr <michael@gnehr.de>
* remove new container
Signed-off-by: Michael Gnehr <michael@gnehr.de>
Diffstat (limited to 'public/less/_repository.less')
-rw-r--r-- | public/less/_repository.less | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less index 5a57f5db71..dd986c8832 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -749,7 +749,7 @@ } .comment-list { - &:before { + &:not(.prevent-before-timeline):before { display: block; content: ""; position: absolute; @@ -763,6 +763,27 @@ z-index: -1; } + .timeline-line { + position: relative; + display: block; + width: 100%; + max-width: 100%; + + &:before { + display: block; + content: ""; + position: absolute; + margin-top: 12px; + margin-bottom: 14px; + top: 0; + bottom: 0; + left: 82px; + width: 2px; + background-color: #f3f3f3; + z-index: -1; + } + } + .comment { .avatar { width: @comment-avatar-width; |