chromium/chrome/browser/resources/webui_gallery/demos/cr_input/cr_input_demo.css

/* Copyright 2024 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-lit
 * #import=../demo.css.js
 * #import=//resources/cr_elements/cr_hidden_style_lit.css.js
 * #import=//resources/cr_elements/cr_icons_lit.css.js
 * #scheme=relative
 * #include=cr-hidden-style-lit cr-icons-lit demo
 * #css_wrapper_metadata_end */

cr-input,
cr-textarea {
  max-width: 400px;
  width: 100%;
}

.no-error {
  --cr-input-error-display: none;
}

.domain-name {
  padding-inline-end: 8px;
}

label {
  flex: 1;
  white-space: nowrap;
}