当 dialog 出现时,页面右边缩小了 5px,模态框看起来会抖动
解决方案
发现 body 多了样式:padding-right: 5px 和 overflow: hidden。紧接着我就在全局设置 body 的 padding-right: 0 !important 就好了~
本文转载自:https://blog.csdn.net/Dream_Weave/article/details/95041203

相关文章:

  • 2021-05-16
  • 2022-12-23
  • 2021-05-12
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-23
  • 2021-04-26
  • 2022-12-23
  • 2021-09-17
  • 2022-01-16
  • 2021-06-14
相关资源
相似解决方案