summaryrefslogtreecommitdiffstats
path: root/web_src/less/_dashboard.less
diff options
context:
space:
mode:
authormrsdizzie <info@mrsdizzie.com>2020-05-27 16:31:12 -0400
committerGitHub <noreply@github.com>2020-05-27 21:31:12 +0100
commit5d78792385de7c5ec61d9e3208ebc6ebae972f33 (patch)
tree83027a0548e5b6f303eb9811fcb205699c76a9da /web_src/less/_dashboard.less
parenta00974c3b8a589677c508c522d3aab8b57b839f3 (diff)
downloadgitea-5d78792385de7c5ec61d9e3208ebc6ebae972f33.tar.gz
gitea-5d78792385de7c5ec61d9e3208ebc6ebae972f33.zip
Fix alignment for commits on dashboard (#11595)
Fix alignment issue between commit SHA and commit message
Diffstat (limited to 'web_src/less/_dashboard.less')
-rw-r--r--web_src/less/_dashboard.less21
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;
}
}