1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-05 23:32:45 +08:00

feat(image-viewer): add background color to content image

This commit is contained in:
2025-11-22 00:32:03 +08:00
parent 1789ecff8b
commit b0e3fd60ce

View File

@@ -537,6 +537,8 @@ defineExpose({
.content-image {
border-radius: var(--md-sys-shape-corner-full);
background-color: var(--md-sys-color-surface-variant);
clip-path: circle(10%);
object-fit: contain;
transition: var(--md-sys-motion-spring-slow-spatial-duration) var(--md-sys-motion-spring-slow-spatial);