Commit ad4be0f9 authored by Aran Gilman's avatar Aran Gilman Committed by Commit Bot

Add max-width for distilled page's settings UI and content.

This prevents the UI and the content's text from moving off the edge of
the screen at large font sizes.

Bug: 952034
Change-Id: I0d7600a79d24ea48c3fd0cc25718e74b536dd0eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1838142
Auto-Submit: Aran Gilman <gilmanmh@google.com>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702583}
parent 15aa5c8e
......@@ -27,6 +27,7 @@ fieldset {
}
#mainContent {
max-width: 100%;
width: 35em;
padding: 1em;
margin-top: 1em;
......@@ -36,6 +37,7 @@ fieldset {
#settingsContainer {
position: absolute;
width: inherit;
max-width: 90%;
flex: 1 1 auto;
display: flex;
justify-content: flex-end;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment