Skip to content

Commit 795b686

Browse files
authored
Fix alignment for commits on dashboard (#11595) (#11680)
Fix alignment issue between commit SHA and commit message
1 parent 0e44fab commit 795b686

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

web_src/less/_dashboard.less

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,20 @@
8080
&.feeds {
8181
.news {
8282

83+
li {
84+
display: flex;
85+
align-items: baseline;
86+
margin-top: .5rem;
87+
margin-bottom: .5rem;
88+
89+
img {
90+
align-self: flex-start;
91+
}
92+
}
93+
li > * + * {
94+
margin-left: .35rem;
95+
}
96+
8397
line-height: 1.2;
8498

8599
> .ui.grid {
@@ -100,18 +114,13 @@
100114
}
101115

102116
.push.news .content ul {
103-
line-height: initial;
117+
line-height: 18px;
104118
font-size: 13px;
105119
list-style: none;
106120
padding-left: 10px;
107121

108-
img {
109-
margin-bottom: -2px;
110-
}
111-
112122
.text.truncate {
113123
width: 80%;
114-
margin-bottom: -5px;
115124
}
116125
}
117126

0 commit comments

Comments
 (0)