}
.attachmentThumbnail {
- box-shadow:
- 0 0 3px rgba(0, 0, 0, 0.12),
- 0 1px 2px rgba(0, 0, 0, 0.24);
+ border: 1px solid transparent;
+ border-radius: var(--wcfBorderRadius);
+ box-shadow: var(--wcfBoxShadowCard);
margin-bottom: 15px !important;
position: relative;
.attachmentThumbnailImage {
align-items: center;
background-color: #333;
+ border-radius: calc(var(--wcfBorderRadius) - 1px);
display: flex;
justify-content: center;
overflow: hidden;
}
}
+html[data-color-scheme="dark"] {
+ .attachmentThumbnail {
+ border-color: var(--wcfContentBorderInner);
+ }
+}
+
/* attachments tab in editor */
.formAttachmentContent {
.formAttachmentList {