fix: popover width on the screen side (#41953)

* chore: fix popover width for edge case

* chore: fix max-width
This commit is contained in:
二货爱吃白萝卜 2023-04-23 20:51:16 +08:00 committed by GitHub
parent 9b59ec8761
commit ae3e130829
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,7 @@
top: 0; top: 0;
left: 0; left: 0;
z-index: @zindex-popover; z-index: @zindex-popover;
max-width: 100%;
font-weight: normal; font-weight: normal;
white-space: normal; white-space: normal;
text-align: left; text-align: left;
@ -85,6 +86,8 @@
} }
&-inner-content { &-inner-content {
width: max-content;
max-width: 100%;
padding: @padding-sm @popover-padding-horizontal; padding: @padding-sm @popover-padding-horizontal;
color: @popover-color; color: @popover-color;
} }