Merge pull request #115 from dandv/patch-5
Ensure images are bound within the section
This commit is contained in:
commit
d0e6e95781
|
@ -108,6 +108,12 @@ body {
|
||||||
font-weight: normal;
|
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 strong,
|
||||||
.reveal b {
|
.reveal b {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
Loading…
Reference in New Issue