Merge pull request #115 from dandv/patch-5

Ensure images are bound within the section
This commit is contained in:
Hakim El Hattab 2012-08-14 17:59:33 -07:00
commit d0e6e95781
1 changed files with 6 additions and 0 deletions

View File

@ -108,6 +108,12 @@ body {
font-weight: normal;
}
.reveal img {
/* preserve aspect ratio and scale image so it's bound within the section */
max-width: 100%;
max-height: 100%;
}
.reveal strong,
.reveal b {
font-weight: bold;