Prevent picker from being larger than viewport

Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2114
This commit is contained in:
Raymond Hill 2022-06-10 11:11:29 -04:00
parent c1f5ac6656
commit 6fbcfc5114
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -26,6 +26,10 @@ html#ublock0-epicker,
right: 2px;
width: calc(40% - 2px);
}
/* https://github.com/uBlockOrigin/uBlock-issues/discussions/2114 */
#ublock0-epicker aside {
min-width: min(24rem, 100vw - 4px);
}
#ublock0-epicker.paused:not(.zap) aside {
display: block;
}