Fit height

This commit is contained in:
Jordan Bates 2013-08-23 08:37:26 -07:00
parent b51755a4f9
commit 7c1bd2dbd3
3 changed files with 859 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1163,7 +1163,7 @@ a:only-of-type > .remove {
display: <%= flex %>; display: <%= flex %>;
<%= align %>-items: flex-start; <%= align %>-items: flex-start;
<%= justify %>: space-around; <%= justify %>: space-around;
overflow-y: scroll; overflow: hidden;
/* Flex > Non-Flex child max-width and overflow fix (Firefox only?) */ /* Flex > Non-Flex child max-width and overflow fix (Firefox only?) */
width: 1%; width: 1%;
} }
@ -1172,20 +1172,21 @@ a:only-of-type > .remove {
} }
.gal-image img { .gal-image img {
max-width: 100%; max-width: 100%;
max-height: 100vh;
} }
.gal-close { .gal-close {
font-size: 2em; font-size: 2em;
padding-right: 8px; padding-right: 8px;
position: fixed; position: fixed;
top: 5px; top: 5px;
right: 195px; right: 180px;
color: #ffffff; color: #ffffff;
text-shadow: 0px 0px 1px #000000; text-shadow: 0px 0px 1px #000000;
} }
.gal-name { .gal-name {
position: fixed; position: fixed;
bottom: 5px; bottom: 5px;
right: 190px; right: 175px;
background: rgba(0,0,0,0.6) !important; background: rgba(0,0,0,0.6) !important;
border-radius: 3px; border-radius: 3px;
padding: 1px 5px 2px 5px; padding: 1px 5px 2px 5px;
@ -1199,7 +1200,7 @@ a:only-of-type > .remove {
.gal-count { .gal-count {
position: fixed; position: fixed;
bottom: 26px; bottom: 26px;
right: 190px; right: 175px;
background: rgba(0,0,0,0.6) !important; background: rgba(0,0,0,0.6) !important;
border-radius: 3px; border-radius: 3px;
padding: 1px 5px 2px 5px; padding: 1px 5px 2px 5px;