diff --git a/components/image/style/index.less b/components/image/style/index.less index e9fa207d17..0cb27876f5 100644 --- a/components/image/style/index.less +++ b/components/image/style/index.less @@ -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%); diff --git a/package.json b/package.json index 7111320bfe..b15c98fe09 100644 --- a/package.json +++ b/package.json @@ -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",