Skip to content

Commit

Permalink
Fix image display
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanGiles committed Jan 7, 2024
1 parent 60d7298 commit 1458b98
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/resources/www/templates/fragments/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,18 @@
border-style: solid;
}

/* Improve image display, but on mobile, make images 100% width */
img {
display: block;
float: none;
margin-left: auto;
margin-right: auto;
width: 50%;
width: 65%;
}
@media only screen and (max-width: 600px) {
img {
width: 100%;
}
}
</style>

Expand Down

0 comments on commit 1458b98

Please sign in to comment.