Update attachment cell to respect row height

This commit is contained in:
Andrew Kingston 2023-04-17 14:54:58 +01:00
parent 0cede10867
commit 53d3eaf465
1 changed files with 5 additions and 4 deletions

View File

@ -107,8 +107,8 @@
flex: 1 1 auto; flex: 1 1 auto;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: stretch;
padding: 0 var(--cell-padding); padding: var(--cell-padding);
flex-wrap: nowrap; flex-wrap: nowrap;
gap: var(--cell-spacing); gap: var(--cell-spacing);
align-self: stretch; align-self: stretch;
@ -134,8 +134,9 @@
user-select: none; user-select: none;
} }
img { img {
height: calc(var(--row-height) - 12px); height: auto;
max-width: 64px; /*height: calc(var(--row-height) - 12px);*/
/*max-width: 64px;*/
} }
.dropzone { .dropzone {
position: absolute; position: absolute;