Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
style(markdown): adjust lightbox img width (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafegoldberg authored Apr 28, 2020
1 parent da90e2f commit a016b88
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/markdown/components/Image/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
background: linear-gradient(to bottom, rgba(245, 245, 250, .88) 50%, #f5f5fa);
backdrop-filter: blur(6px) saturate(1.2) brightness(1.075);
user-select: none;

margin-top: 0;
margin-bottom: 0;
}

// Close Button
Expand Down Expand Up @@ -143,8 +146,9 @@
img {
width: auto !important;
height: auto !important;
max-width: 88vw !important;
max-height: unset !important;
max-height: 95vh !important;
max-width: unset !important;
min-width: unset !important;
&:not([src$=".png"]):not([src$=".svg"]):not([src$=".jp2"]):not([src$=".tiff"]) {
box-shadow: 0 .5em 3em -1em rgba(0, 0, 0, .2);
}
Expand Down

0 comments on commit a016b88

Please sign in to comment.