Skip to content

Commit c5775bb

Browse files
Ryan Wilsonchasenlehara
authored andcommitted
Add a height to the brand and version to overlap with hover state (#517)
Fixes #516
1 parent 272cf80 commit c5775bb

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

static/header.less

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@
2424
.brand {
2525
display: flex;
2626
white-space: nowrap;
27+
align-items: center;
2728
.dropdown {
2829
display:none;
2930
}
3031
.logo {
31-
display: inline-block;
32+
display: flex;
33+
align-items: center;
3234
width: 60px;
33-
height: 100%;
35+
height: @brand-height;
3436
cursor: pointer;
3537
&:hover > a {
3638
opacity: .7;
@@ -83,11 +85,10 @@
8385
}
8486
}
8587
.version {
86-
display: inline-flex;
87-
vertical-align: top;
88-
height: 100%;
89-
padding-top: 7px;
88+
display: flex;
89+
align-items: center;
9090
font-size: 12px;
91+
height: @brand-height;
9192
cursor: pointer;
9293
.version-number::after {
9394
display: inline-block;

0 commit comments

Comments
 (0)