Fix image preview (#2276)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov 2022-09-22 07:55:15 +03:00 committed by GitHub
parent 40fd5a4532
commit 3052f1790c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -121,8 +121,11 @@
max-width: 20rem;
max-height: 20rem;
border-radius: 0.75rem;
width: 100%;
height: 100%;
width: auto;
height: auto;
}
img {
object-fit: contain;
}
}
</style>

View File

@ -217,8 +217,7 @@
overflow-y: hidden;
background-color: var(--accent-bg-color);
border: 1px solid var(--divider-color);
border-radius: 0.5rem 0.5rem 0 0;
border-bottom: none;
border-radius: 0.5rem;
.item + .item {
padding-left: 1rem;