Skip to content

Commit

Permalink
Options page: wrap text as work-around
Browse files Browse the repository at this point in the history
When a long error message is shown, Chrome keeps flashing because it
repeatedly tries to resize the content. This happens repeatedly because
upon resizing the content, the lines may reflow and cause scrollbars to
appear and disappear.

To prevent this from happening, use wrap text where possible instead of
at the (default) word boundary.
  • Loading branch information
Rob--W committed Mar 21, 2022
1 parent f554dd3 commit 44d70ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
}
#contextmenuPatternsOutput {
white-space: pre-wrap;
word-break: break-all;
}
</style>
</head>
Expand Down

0 comments on commit 44d70ce

Please sign in to comment.