mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 00:29:12 +08:00
fix: popover width on the screen side (#41953)
* chore: fix popover width for edge case * chore: fix max-width
This commit is contained in:
parent
9b59ec8761
commit
ae3e130829
@ -15,6 +15,7 @@
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: @zindex-popover;
|
||||
max-width: 100%;
|
||||
font-weight: normal;
|
||||
white-space: normal;
|
||||
text-align: left;
|
||||
@ -85,6 +86,8 @@
|
||||
}
|
||||
|
||||
&-inner-content {
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
padding: @padding-sm @popover-padding-horizontal;
|
||||
color: @popover-color;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user