Opts page was too narrow, risk and make wider

This commit is contained in:
ilyaigpetrov 2021-06-26 16:47:28 +00:00
parent e1bdf654f2
commit 6e24ee0454

View File

@ -12,18 +12,13 @@ export default function append(document, { flags }) {
--cr-icon-selected: #d7d7d7; --cr-icon-selected: #d7d7d7;
--cr-popup-border: #bababa; --cr-popup-border: #bababa;
--cr-grey-panel: #f2f2f2; --cr-grey-panel: #f2f2f2;
${ flags.ifInsideOptionsPage
// Without this prop on the next line
// options page width may be jerking
// in size when scrolling is showed.
? 'width: 20em'
: 'max-width: 25em;' }
} }
/* BASE ELEMENTS */ /* BASE ELEMENTS */
body { body {
margin: 0; margin: 0;
max-width: 25em;
} }
a, a:visited { a, a:visited {
color: var(--ribbon-color); color: var(--ribbon-color);