Fix iframe bug

Images in iframes were more than 100% wide on small screens
This commit is contained in:
Matthew Grove
2018-12-11 07:35:38 +00:00
parent 32a63811fa
commit 5df924af7c
2 changed files with 1 additions and 19 deletions

View File

@@ -30,7 +30,7 @@ img {
}
@media screen and (max-width: 600px) {
img {
width: 100%;
width: calc(100% - 15px);
}
}

View File

@@ -1,18 +0,0 @@
html, body {
font-family: 'Roboto';
background: transparent;
}
img {
width: 70%;
box-shadow: 3px 3px 6px 2px rgba(10,10,10,0.5);
margin: 10px;
border-radius: 6px;
}
/* revert changes made by Bootstrap */
p {
margin: 0;
}
h1, h2, h3, .h1, .h2, .h3 {
margin-top: 0;
}