Skip to content

Commit

Permalink
Make the picture element inline block
Browse files Browse the repository at this point in the history
so it doesn't always take up full space
  • Loading branch information
Legend-Master committed Aug 16, 2024
1 parent 501a6f4 commit 583b3bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/theme/NativeIdealImage.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.native-ideal-img {
display: block;
display: inline-block;
position: relative;
overflow: hidden;
}

.native-ideal-img > img {
display: block;
width: 100%;
max-width: 100%;
height: auto;
}

Expand Down

0 comments on commit 583b3bc

Please sign in to comment.