Remove ignored properties in certain combinations
Removing - `clear` when used with `position: absolute` - `float` when used with `position: absolute` Change-Id: I14661c4078e4d5f776596842674cef7e7ddcf708
This commit is contained in:
parent
2f94748938
commit
51dd4bb7d9
|
@ -139,7 +139,6 @@
|
||||||
.menu {
|
.menu {
|
||||||
background-color: @background-color-base;
|
background-color: @background-color-base;
|
||||||
list-style: none none;
|
list-style: none none;
|
||||||
clear: both;
|
|
||||||
// Match the width of the dropdown "heading" (the tab)
|
// Match the width of the dropdown "heading" (the tab)
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -63,19 +63,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#right-navigation {
|
#right-navigation {
|
||||||
|
// float: none; Override not needed with `position: absolute` above.
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: inherit;
|
top: inherit;
|
||||||
right: 0;
|
right: 0;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
float: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#left-navigation {
|
#left-navigation {
|
||||||
|
// float: none; Override not needed with `position: absolute` above.
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: inherit;
|
top: inherit;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: block;
|
display: block;
|
||||||
float: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#p-namespaces,
|
#p-namespaces,
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#p-search {
|
#p-search {
|
||||||
float: none;
|
// float: none; Override not needed with `position: absolute` above.
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
|
Loading…
Reference in a new issue