/* Copyright 2025 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=//resources/cr_elements/cr_shared_style_lit.css.js
 * #import=./shared_style.css.js
 * #include=cr-shared-style-lit shared-style
 * #css_wrapper_metadata_end */

:host {
  box-sizing: border-box;
  display: block;
}

:host([is-empty]) {
  padding-block: 80px;
}

.history-cards {
  margin-block-start: var(--first-card-padding-top);
}

dialog [slot=body] {
  white-space: pre-wrap;
}

/* Chunks are created by cr-infinite-list to improve performance. An
 * overflow-clip-margin is needed to show the shadows around each card. */
.chunk {
  overflow-clip-margin: 8px;
}
