Skip to content

Commit

Permalink
fix(ImageViewer): add image default style (#1967)
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao authored Oct 12, 2024
1 parent 14e584d commit c765cde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions style/mobile/components/image-viewer/v2/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
justify-content: center;
}

&__img {
height: auto;
max-width: 100%;
}

&__nav {
width: 100%;
position: fixed;
Expand Down

0 comments on commit c765cde

Please sign in to comment.