Small fixes to HeaderMenu

This commit is contained in:
Justin Edmund 2020-10-26 01:48:14 -07:00
parent abd9c7bf86
commit 7a9f5c1097

View file

@ -4,14 +4,14 @@
display: none; display: none;
min-width: 140px; min-width: 140px;
position: absolute; position: absolute;
top: $unit * 4; top: $unit * 5; // This shouldn't be hardcoded. How to calculate it?
z-index: 1; z-index: 1;
} }
.MenuItem { .MenuItem {
color: $grey-10; color: $grey-10;
font-weight: $medium; font-weight: $medium;
padding: 6px 12px; padding: 10px;
&:hover { &:hover {
background: $grey-90; background: $grey-90;
@ -29,7 +29,7 @@
} }
.MenuGroup { .MenuGroup {
border-bottom: 2px solid #f5f5f5; border-bottom: 1px solid #f5f5f5;
&:first-child .MenuItem:first-child:hover { &:first-child .MenuItem:first-child:hover {
border-top-left-radius: 6px; border-top-left-radius: 6px;