/* 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=./shared_vars.css.js
* #scheme=relative
* #css_wrapper_metadata_end */
:host {
align-items: center;
background-color: var(--entity-image-background-color);
background-position: center;
background-repeat: no-repeat;
border-radius: 8px;
display: flex;
flex-shrink: 0;
height: 40px;
justify-content: center;
margin-inline: 0 16px;
width: 40px;
}
:host([in-side-panel_]) {
margin-inline: 8px 16px;
}
#page-image {
border-radius: 5px;
max-height: 100%;
max-width: 100%;
}
:host([is-image-cover_]) #page-image {
height: 100%;
object-fit: cover;
width: 100%;
}