Skip to content

Commit

Permalink
Prevent picker from being larger than viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jun 10, 2022
1 parent c1f5ac6 commit 6fbcfc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/css/epicker-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6fbcfc5

Please sign in to comment.