diff options
author | Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> | 2020-06-06 22:30:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-06 21:30:10 +0100 |
commit | f6315fb4774388c750de4b826927952da2047427 (patch) | |
tree | cb8b259e7785680bada978e1d7b845c5da2cfb1d | |
parent | c8b1c4b10ad50d07501a54e68c3f570047fb172d (diff) | |
download | gitea-f6315fb4774388c750de4b826927952da2047427.tar.gz gitea-f6315fb4774388c750de4b826927952da2047427.zip |
Fix align issues and decrease avatar size on PR timeline (#11689)
* Fix margin for referenced issue title
* Change avatar size to 20px, align referenced issue title to avatar
* better align
-rw-r--r-- | web_src/less/_repository.less | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 96e381c163..756ad6d6a8 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -751,6 +751,13 @@ } } + .avatar.image, + .avatar.image img { + width: 20px; + height: 20px; + margin-right: .15em; + } + &:first-child:not(.commit) { padding-top: 0 !important; } @@ -762,7 +769,6 @@ .badge.badge-commit { border-color: transparent; background: radial-gradient(white 60%, transparent 60%) no-repeat; - height: 0 !important; } .badge { @@ -774,9 +780,9 @@ display: flex; float: left; margin-left: -32px; - margin-top: -1px; margin-right: 8px; color: #444; + align-items: center; .svg { width: 28px; @@ -804,7 +810,8 @@ } &.event > .text { - line-height: 30px; + line-height: 32px; + vertical-align: middle; } &.commits-list { @@ -812,8 +819,10 @@ padding-top: 0; .singular-commit { + line-height: 30px; + &:not(:last-child) { - padding-bottom: 3px; + padding-bottom: 2px; } .shabox { @@ -1138,13 +1147,7 @@ .detail { font-size: .9rem; margin-top: 5px; - margin-left: 35px; - - .svg { - &.octicon-git-commit { - margin-top: 2px; - } - } + margin-left: 8px; } .segments { |