Merge pull request #29 from mattbk/css-fix
Add max-height to images themselves
This commit is contained in:
@ -6,12 +6,14 @@ body {
|
|||||||
//background: #dddddd;
|
//background: #dddddd;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
// 90vh is 90% of viewer height: http://stackoverflow.com/a/16837667/2152245
|
// 90vh is 90% of viewer height: http://stackoverflow.com/a/16837667/2152245
|
||||||
height:90vh;;
|
height:80vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rotator img {
|
#rotator img {
|
||||||
display: block;
|
display: block;
|
||||||
|
max-height:80vh;
|
||||||
|
width:auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
Reference in New Issue
Block a user