1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 09:46:57 +01:00

fix weird main menu placement in some viewports

This commit is contained in:
Matthias Kretschmann 2017-10-02 11:30:47 +02:00
parent b0ef5c0e5c
commit b525748c1f
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -89,11 +89,9 @@
box-shadow: none; box-shadow: none;
padding: $spacer ($spacer / 4); padding: $spacer ($spacer / 4);
display: inline-block; display: inline-block;
float: right;
@media ($screen-md) { @media ($screen-md) {
margin-left: $spacer; margin-left: $spacer;
float: none;
} }
&:hover, &:hover,
@ -127,6 +125,16 @@
padding-top: ($spacer / 2); padding-top: ($spacer / 2);
padding-bottom: ($spacer / 2); padding-bottom: ($spacer / 2);
.grid__col--2 {
display: flex;
justify-content: space-between;
@media ($screen-md) {
display: block;
white-space: nowrap;
}
}
.menu__logo { .menu__logo {
margin-bottom: ($spacer / 2); margin-bottom: ($spacer / 2);