-
Morten Stenshorne authored
fit-content in the block direction has little or no effect after the fix for bug 902863, but we had settings UI CSS that depended on them. The :host in settings_subpage.html used to be able to get the right height propagated all the way from #main in settings_ui.html, but that's no longer possible (since we cannot give #main a definite height anymore). Therefore, use the viewport height instead, and subtract the space taken up by the top toolbar. Now chrome://settings and subpages, such as chrome://settings/content , render as expected again. Bug: 965858, 965859 Change-Id: I966790ad21e018abdc8f3af91dc102594de340db Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1624905Reviewed-by:
Dan Beam <dbeam@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#663015}
4d6afcbc