Try to vertically center the items. #2
This commit is contained in:
parent
35102cafca
commit
db83b2211d
@ -46,13 +46,15 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
height: 100%;
|
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.menu_item {
|
.menu_item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
height: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Be able to position anything easily. **/
|
/** Be able to position anything easily. **/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user