chromium/ui/webui/resources/cr_elements/cr_page_host_style.css

/* Copyright 2022 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

/* #css_wrapper_metadata_start
 * #type=style
 * #scheme=relative
 * #import=./cr_shared_vars.css.js
 * #css_wrapper_metadata_end */

/* Common CSS properties for WebUI pages, such as an entire page or a standalone
 * dialog. The CSS here is in its own file so that the properties can be
 * imported independently and applied directly to the :host element without
 * having to import other shared CSS. */

:host {
  color: var(--cr-primary-text-color);
  line-height: 154%; /* Apply 20px default line-height to all text. */
  overflow: hidden; /* Prevent double scroll bar bugs. */
  user-select: text;
}