зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1619663 - Don't use -moz-appearance for android scrollbar thumbs. r=mstange
The regular Android theme doesn't support it, so it does nothing. With the non-native theme, which supports scrollbars, it'd look like windows scrollbars, which we don't want. Differential Revision: https://phabricator.services.mozilla.com/D65138 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
691e4ca68d
Коммит
b6eaddfb9f
|
@ -26,7 +26,7 @@ xul|scrollbar[orient="vertical"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
xul|scrollbar[orient="vertical"] xul|thumb {
|
xul|scrollbar[orient="vertical"] xul|thumb {
|
||||||
-moz-appearance: scrollbarthumb-vertical !important;
|
-moz-appearance: none !important;
|
||||||
max-width: 2px !important;
|
max-width: 2px !important;
|
||||||
min-width: 2px !important;
|
min-width: 2px !important;
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ xul|scrollbar[orient="horizontal"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
xul|scrollbar[orient="horizontal"] xul|thumb {
|
xul|scrollbar[orient="horizontal"] xul|thumb {
|
||||||
-moz-appearance: scrollbarthumb-horizontal !important;
|
-moz-appearance: none !important;
|
||||||
max-height: 2px !important;
|
max-height: 2px !important;
|
||||||
min-height: 2px !important;
|
min-height: 2px !important;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче