Skip to content

Commit

Permalink
perf(components): [ImagePreview] header能见度样式优化
Browse files Browse the repository at this point in the history
  • Loading branch information
godxiaoji committed Jun 5, 2023
1 parent 5361f69 commit e07cc22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ui/src/ImagePreview/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
> .ta-modal_box {
width: 100%;
height: 100%;
max-width: 100%;

.ta-modal_box-inner {
height: 100%;
Expand Down Expand Up @@ -35,7 +36,7 @@
justify-content: center;
align-items: center;
position: relative;
transform: translateZ();
transform: translateZ(0);
overflow: hidden;

.ta-image {
Expand All @@ -59,6 +60,7 @@
font-size: 17px;
color: #fff;
text-align: center;
background-color: rgb(0 0 0 / 20%);
}

&_close {
Expand Down

0 comments on commit e07cc22

Please sign in to comment.