mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Minor CSS adjustments
This commit is contained in:
parent
569dfea3cb
commit
9763a79c01
2 changed files with 5 additions and 3 deletions
|
|
@ -12,7 +12,7 @@
|
|||
--popup-gap-extra-thin: calc(0.25 * var(--popup-gap));
|
||||
--popup-main-min-width: calc(
|
||||
var(--filtering-mode-slider-width) +
|
||||
var(--filtering-mode-button-size) / 2
|
||||
var(--filtering-mode-button-size)
|
||||
);
|
||||
--popup-firewall-min-width: 30em;
|
||||
--popup-rule-cell-width: 5em;
|
||||
|
|
@ -43,7 +43,7 @@ a {
|
|||
align-self: inherit;
|
||||
}
|
||||
:root.mobile #main {
|
||||
min-width: 100%;
|
||||
/*min-width: 100%;*/
|
||||
}
|
||||
hr {
|
||||
border: 0;
|
||||
|
|
|
|||
|
|
@ -34,5 +34,7 @@ import { dom } from './dom.js';
|
|||
|
||||
{
|
||||
const mql = self.matchMedia('(hover: hover)');
|
||||
dom.cl.toggle(dom.html, 'mobile', mql.matches !== true);
|
||||
const isTouchScreen = mql.matches !== true;
|
||||
dom.cl.toggle(dom.html, 'mobile', isTouchScreen);
|
||||
dom.cl.toggle(dom.html, 'desktop', isTouchScreen === false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue