Fix slides CSS

This commit is contained in:
yflory 2017-07-11 17:39:26 +02:00
parent 159ccc2866
commit d09f5b70c7
1 changed files with 15 additions and 12 deletions

View File

@ -279,7 +279,7 @@ div#modal #content, #print {
* { * {
.size(2.75); .size(2.75);
* { * {
font-size: 100%; font-size: 1em;
line-height: 1em; line-height: 1em;
} }
} }
@ -396,23 +396,26 @@ div#modal #content, #print {
} }
p { p {
display: flex; //display: flex;
flex-flow: row wrap; //flex-flow: row wrap;
padding: 0; padding: 0;
margin: 0; margin: 0;
min-height:0; min-height:0;
flex: 1; min-width:0;
//flex: 1;
} }
media-tag { media-tag {
min-height: 0; min-height: 0;
flex: 1; flex: 1;
display: block; display: flex;
text-align: center; flex-flow: column;
text-align: center;
} }
media-tag img { media-tag img {
max-height: 100% !important; flex: 1;
max-height: 100% !important;
} }
media-tag iframe { media-tag iframe {