scss: limit dimensions of thumbnailed images (required for svg files) (#76746)
gitea/publik-base-theme/pipeline/head This commit looks good Details

This commit is contained in:
Benjamin Dauvergne 2023-04-18 12:44:39 +02:00
parent 8f1d4e52ce
commit f0edb80286
1 changed files with 6 additions and 0 deletions

View File

@ -821,6 +821,12 @@ div.gallerycell {
width: 100%;
}
.wcs-card-cell .pk-card-field-filename img {
display: block;
max-width: 100%;
max-height: 25vh;
}
.empty-cell {
display: none !important;
}