Skip to content

Commit b428b0f

Browse files
authored
Tune UI alignment for nav bar notification icon, avatar image, issue label (#17438)
1 parent 812a9da commit b428b0f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

web_src/less/_base.less

+1
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@ a.ui.card:hover,
637637

638638
.fitted .svg {
639639
margin-right: 0;
640+
vertical-align: middle;
640641
}
641642

642643
.searchbox {

web_src/less/_repository.less

+2
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@
824824
width: 20px;
825825
height: 20px;
826826
margin: 0 .25rem;
827+
vertical-align: middle;
827828
}
828829

829830
&:first-child:not(.commit) {
@@ -2791,6 +2792,7 @@
27912792
.labels-list .label {
27922793
margin: 2px 0;
27932794
display: inline-block !important;
2795+
line-height: 1.3em; // there is a `font-size: 1.25em` for inside emoji, so here the line-height needs to be larger slightly
27942796
}
27952797

27962798
tbody.commit-list {

0 commit comments

Comments
 (0)