style(ImagePreview): adjust index position (#6650)

This commit is contained in:
neverland
2020-06-30 11:43:04 +08:00
committed by GitHub
parent 118d654242
commit 1509795937
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -48,10 +48,11 @@
&__index {
position: absolute;
top: 10px;
top: @padding-md;
left: 50%;
color: @image-preview-index-text-color;
font-size: @image-preview-index-font-size;
line-height: @image-preview-index-line-height;
text-shadow: @image-preview-index-text-shadow;
transform: translate(-50%, 0);
}