fix: The image preview operations are occluded (#38456)

This commit is contained in:
JarvisArt 2022-11-10 14:35:29 +08:00 committed by GitHub
parent b0598e0d41
commit 8af0b4f1f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -105,16 +105,19 @@
z-index: @zindex-image;
}
&-operations {
.reset-component();
&-operations-wrapper {
position: fixed;
top: 0;
right: 0;
z-index: @zindex-image + 1;
width: 100%;
}
&-operations {
.reset-component();
display: flex;
flex-direction: row-reverse;
align-items: center;
width: 100%;
color: @image-preview-operation-color;
list-style: none;
background: fade(@modal-mask-bg, 10%);

View File

@ -131,7 +131,7 @@
"rc-drawer": "~6.0.0",
"rc-dropdown": "~4.0.0",
"rc-field-form": "~1.27.0",
"rc-image": "~5.10.0",
"rc-image": "~5.11.0",
"rc-input": "~0.1.4",
"rc-input-number": "~7.3.9",
"rc-mentions": "~1.10.0",