mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Fix topbar buttons in Firefox in save mode when css filter active
(closes #4348)
This commit is contained in:
@@ -56,6 +56,22 @@ body {
|
||||
transition-duration: 200ms;
|
||||
}
|
||||
|
||||
/* Firefox has its own ideas about fixed positioning when a css filter is active - #4348 */
|
||||
/* https://stackoverflow.com/questions/37949942/firefox-position-bug-by-parent-with-filter */
|
||||
@-moz-document url-prefix() {
|
||||
#content > #bar {
|
||||
width: 100vw;
|
||||
}
|
||||
#content.inactive > #bar > .spacer.col4 {
|
||||
width: 0px;
|
||||
}
|
||||
#content.active > #bar > .spacer.col4 {
|
||||
width: 33.3333%;
|
||||
transition-duration: 200ms;
|
||||
transition-timing-function: step-end;
|
||||
}
|
||||
}
|
||||
|
||||
#defs {
|
||||
/* Can't be display: none or the clippaths are ignored. */
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user