mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2025-10-14 12:55:54 +00:00
userChrome/popups: FF >= 108: fix broken touch
Split the #mainPopupSet CSS rule to an extra file popups.before-ff-108.css, and adjust autoconfig.js to skip that file if firefox is newer than >= 108.
This commit is contained in:
parent
e2f29799c6
commit
ee8d8382d5
3 changed files with 39 additions and 12 deletions
15
src/userChrome/popups.before-ff-108.css
Normal file
15
src/userChrome/popups.before-ff-108.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* Copyright 2022 Oliver Smith
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@media (max-width: 700px) {
|
||||
/* Hack to prevent popups from flickering around. It looks like e.g. the
|
||||
* editBookmarkPanel has two heights otherwise, and draws one frame with a
|
||||
* short height and one frame with the proper one. */
|
||||
#mainPopupSet {
|
||||
position: fixed !important;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
bottom: 100px;
|
||||
}
|
||||
}
|
|
@ -2,17 +2,6 @@
|
|||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@media (max-width: 700px) {
|
||||
/* Hack to prevent popups from flickering around. It looks like e.g. the
|
||||
* editBookmarkPanel has two heights otherwise, and draws one frame with a
|
||||
* short height and one frame with the proper one. */
|
||||
#mainPopupSet {
|
||||
position: fixed !important;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
bottom: 100px;
|
||||
}
|
||||
|
||||
/* Now that the navbar is at the bottom, we need to set an offset to have
|
||||
* the notifications (like the one for installing addons) displayed
|
||||
* on-screen. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue