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:
parent
b0ef5c0e5c
commit
b525748c1f
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user