Scale image size also in detail and projector view.

This commit is contained in:
Emanuel Schuetze 2016-08-31 09:58:26 +02:00
parent 33f463599a
commit 24b95e5fbc
3 changed files with 10 additions and 2 deletions

View File

@ -318,6 +318,10 @@ img {
margin-right: 13px; margin-right: 13px;
} }
.col1 .details img {
max-width: 100%;
height: auto;
}
.col1 ul, .col1 ol { .col1 ul, .col1 ol {
margin-left: 20px; margin-left: 20px;
} }

View File

@ -81,6 +81,10 @@ body{
z-index: -1; z-index: -1;
line-height: 1.3em; line-height: 1.3em;
} }
.content img {
max-width: 65%;
height: auto;
}
.scrollcontent { .scrollcontent {
transition-property: margin, font-size; transition-property: margin, font-size;
transition-duration: 1s; transition-duration: 1s;

View File

@ -360,8 +360,8 @@ angular.module('OpenSlidesApp.core.site', [
// This requires further information // This requires further information
// A4 in 72dpi: 595px x 842px // A4 in 72dpi: 595px x 842px
var maxResolution = { var maxResolution = {
width: 590, width: 435,
height: 840 height: 830
}, },
width = parseInt(element.getAttribute("width")), width = parseInt(element.getAttribute("width")),
height = parseInt(element.getAttribute("height")); height = parseInt(element.getAttribute("height"));