diff --git a/ui/src/components/photoGallery/MediaThumbnail.tsx b/ui/src/components/photoGallery/MediaThumbnail.tsx index f55b943..84c1ef4 100644 --- a/ui/src/components/photoGallery/MediaThumbnail.tsx +++ b/ui/src/components/photoGallery/MediaThumbnail.tsx @@ -142,13 +142,14 @@ const Caption = styled.div` bottom: 4px; color: #000; font-family: Consolas, 'Microsoft YaHei', '微软雅黑', monospace; - font-size: 10px; + font-size: 9px; font-weight: 600; line-height: 1.2; white-space: nowrap; pointer-events: none; - text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, - 1px 1px 0 #fff; + text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.5), + 1px -1px 0 rgba(255, 255, 255, 0.5), -1px 1px 0 rgba(255, 255, 255, 0.5), + 1px 1px 0 rgba(255, 255, 255, 0.5); ` type MediaThumbnailProps = {