Fix minor css bugs

This commit is contained in:
Ajay Bura 2022-08-19 13:57:24 +05:30
parent 4cd8f4a94c
commit 2f2680be3c
2 changed files with 2 additions and 1 deletions

View file

@ -41,7 +41,7 @@
max-height: 90vh; max-height: 90vh;
& img { & img {
background-color: black; background-color: var(--bg-surface-low);
object-fit: contain; object-fit: contain;
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;

View file

@ -70,6 +70,7 @@
&__preview > img { &__preview > img {
max-height: 40px; max-height: 40px;
border-radius: var(--bo-radius); border-radius: var(--bo-radius);
max-width: 150px;
} }
&__icon { &__icon {
padding: var(--sp-extra-tight); padding: var(--sp-extra-tight);