Skip to content

Commit

Permalink
Scale content images always to 100% (#87)
Browse files Browse the repository at this point in the history
it seems that images uploaded in sharepoint word documents get strange default with/height attributes (e.g. width=256) although the source images is >2000px width. so we need to scale always as desired and cannot rely on the max. dimension of the source image.
  • Loading branch information
stefanseifert authored Feb 13, 2024
1 parent 952d435 commit c19f2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ h6 {

img {
margin: 0 auto;
max-width: 100%;
width: 100%;
height: auto;
}

Expand Down

0 comments on commit c19f2a0

Please sign in to comment.