fix: Weird menu rendering placement issue on Firefox browsers (#1572)
* fix: Weird menu rendering placement issue on Firefox browsers * Extra encouragement for Firefox to justify correctly
This commit is contained in:
+13
-1
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
slot {
|
slot {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***************
|
/***************
|
||||||
@@ -38,10 +38,22 @@ slot[name='right'] {
|
|||||||
slot[name='top'],
|
slot[name='top'],
|
||||||
slot[name='bottom'] {
|
slot[name='bottom'] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
slot[name='left'],
|
slot[name='left'],
|
||||||
slot[name='right'] {
|
slot[name='right'] {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
|
||||||
|
slot[name='top'],
|
||||||
|
slot[name='left'] {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
slot[name='bottom'],
|
||||||
|
slot[name='right'] {
|
||||||
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*******************************
|
/*******************************
|
||||||
|
|||||||
Reference in New Issue
Block a user