修改完成
This commit is contained in:
@@ -1263,3 +1263,34 @@
|
||||
flex-basis: 100%;
|
||||
}
|
||||
}
|
||||
.attachment-edit-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 220px));
|
||||
gap: 12px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.attachment-edit-list:empty { display: none; }
|
||||
|
||||
.attachment-edit-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--border, #e6ddcf);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.attachment-edit-item :is(img, video) {
|
||||
width: 100%;
|
||||
height: 140px;
|
||||
object-fit: contain;
|
||||
background: var(--paper, #faf7f0);
|
||||
}
|
||||
|
||||
.attachment-edit-name { overflow-wrap: anywhere; font-size: 13px; }
|
||||
.attachment-edit-remove { margin-top: auto; }
|
||||
.attachment-edit-remove:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
|
||||
.attachment-edit-remove:disabled { opacity: .5; cursor: not-allowed; }
|
||||
|
||||
Reference in New Issue
Block a user