Skip to content

Commit

Permalink
Fix alignment for commits on dashboard (go-gitea#11595)
Browse files Browse the repository at this point in the history
Fix alignment issue between commit SHA and commit message
  • Loading branch information
mrsdizzie authored and Yohann Delafollye committed Jul 31, 2020
1 parent 18c335f commit 83dc522
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions web_src/less/_dashboard.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}
}

Expand Down

0 comments on commit 83dc522

Please sign in to comment.