Skip to content
Snippets Groups Projects
Commit 8041eee2 authored by David Smadja's avatar David Smadja
Browse files

Adjust img size to container width

parent a9a3b210
No related branches found
No related tags found
1 merge request!1Temp
......@@ -25,9 +25,26 @@
<style>
:host {
display: block;
width: 100%;
height: 100%;
position: relative;
overflow: auto;
padding: 0 16px;
}
body {
width: 100% !important;
max-width: 800px; /* 600pt ≈ 800px */
margin: 0 auto !important;
}
img {
display: block !important;
max-width: 100% !important;
height: auto !important;
margin-left: auto !important;
margin-right: auto !important;
}
img[width], img[height] {
width: auto !important;
height: auto !important;
}
.content-wrapper {
position: relative;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment