1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-03 17:49:39 +02:00

Limit width of picker dialog in large viewport

This commit is contained in:
Raymond Hill 2020-10-07 11:04:16 -04:00
parent df604b414b
commit bfe5e2daa1
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 4 additions and 2 deletions

View File

@ -14,12 +14,13 @@ html#ublock0-epicker,
}
#ublock0-epicker aside {
background-color: var(--default-surface);
border: 1px solid #aaa;
border: 1px solid var(--default-surface-border);
bottom: 4px;
box-sizing: border-box;
cursor: default;
display: none;
min-width: 24em;
max-width: 36rem;
min-width: 24rem;
padding: 4px;
position: fixed;
right: 4px;

View File

@ -78,6 +78,7 @@
--default-ink-a4: var(--ink-80-a4);
--default-ink-a50: var(--ink-80-a50);
--default-surface: var(--light-gray-10);
--default-surface-border: var(--light-gray-70);
--default-surface-hover: var(--light-gray-30-a50);
--bg-1: hsla(240, 20%, 98%, 1);