Browse Source

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

* chore: fix popover width for edge case

* chore: fix max-width
pull/42128/head
二货爱吃白萝卜 2 years ago
committed by GitHub
parent
commit
ae3e130829
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      components/popover/style/index.less

3
components/popover/style/index.less

@ -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…
Cancel
Save