Skip to content

Commit

Permalink
fix: size of image preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Merck committed Jun 21, 2023
1 parent fc65868 commit 7dde663
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/sass/pages/_chat.sass
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,8 @@

#image-modal
position: relative
width: calc( 100% - 6rem )
height: calc( 100% - 6rem )
max-width: calc(100% - 6rem)
margin: auto
padding: 3rem
border-radius: 3.3rem
Expand All @@ -725,6 +726,8 @@
.image
position: relative
margin: 0
width: 100%
height: 100%

&__close
position: absolute
Expand All @@ -741,7 +744,7 @@

&__preview
height: 100%
width: 100%
border: none
outline: none
overflow: hidden
overflow: hidden

0 comments on commit 7dde663

Please sign in to comment.