Skip to content

ImagePreview 图片预览 CSS样式错误, 导致图片错位 #3092

Description

@moxiaobin

NutUI React 包名

@nutui/nutui-react

NutUI React 版本号

3.0.4

平台

h5

重现链接

https://codesandbox.io/p/devbox/intelligent-bohr-spmxrr

重现步骤

  1. 这是我的实际问题, .nut-imagepreview-swiper 覆盖了 .nut-swiper 的属性. 导致图片错位.

Image

  1. 排除环境影响, 我使用codesandbox 复制官方示例, 问题依旧.

Image

  1. 查看官方示例css , .nut-swiper 的属性覆盖了 .nut-imagepreview-swiper, 图片展示正常.

Image

期望的结果是什么?

图片正常展示, 不错位.

实际的结果是什么?

图片错位, 且展示不全.

环境信息

No response

其他补充信息

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions