Skip to content

Commit

Permalink
Make media image background checkered to show transparency. Closes #2080
Browse files Browse the repository at this point in the history
.
  • Loading branch information
knadh committed Jan 13, 2025
1 parent c877156 commit e2aa9c5
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions frontend/src/assets/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -901,16 +901,20 @@ section.analytics {
/* Media gallery */
.media-files {
img {
max-width: 125px;
max-width: 140px;
max-height: 140px;
}

.thumb.box {
display: inline-block;
padding: 5px;
min-width: 140px;
max-height: 140px;
overflow: hidden;
background: repeating-conic-gradient(#f0f0f0 0 90deg, #fff 90deg 180deg) 0 0 / 32px 32px;
display: flex;
justify-content: center;
align-items: center;
width: fit-content;
height: fit-content;
text-align: center;
padding: 0;
overflow: hidden;
}
.ext {
text-transform: uppercase;
Expand Down

0 comments on commit e2aa9c5

Please sign in to comment.