diff options
author | mrsdizzie <info@mrsdizzie.com> | 2020-05-30 04:20:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-30 11:20:02 +0300 |
commit | 795b6865af22a7f15e02a41e633e1cc87b135e87 (patch) | |
tree | 78ba2d5e4a0dcd1cbdb0cf54906b4973dcf0340c | |
parent | 0e44fab5d69787565d831dd674eb4961068d67b1 (diff) | |
download | gitea-795b6865af22a7f15e02a41e633e1cc87b135e87.tar.gz gitea-795b6865af22a7f15e02a41e633e1cc87b135e87.zip |
Fix alignment for commits on dashboard (#11595) (#11680)
Fix alignment issue between commit SHA and commit message
-rw-r--r-- | web_src/less/_dashboard.less | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/web_src/less/_dashboard.less b/web_src/less/_dashboard.less index fbc40980af..548cdf492f 100644 --- a/web_src/less/_dashboard.less +++ b/web_src/less/_dashboard.less @@ -80,6 +80,20 @@ &.feeds { .news { + li { + display: flex; + align-items: baseline; + margin-top: .5rem; + margin-bottom: .5rem; + + img { + align-self: flex-start; + } + } + li > * + * { + margin-left: .35rem; + } + line-height: 1.2; > .ui.grid { @@ -100,18 +114,13 @@ } .push.news .content ul { - line-height: initial; + line-height: 18px; font-size: 13px; list-style: none; padding-left: 10px; - img { - margin-bottom: -2px; - } - .text.truncate { width: 80%; - margin-bottom: -5px; } } |