Use height and width properties for scaling again
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
ec5fcaf59b
commit
be9b68a4dd
2 changed files with 11 additions and 7 deletions
|
@ -33,17 +33,18 @@ limitations under the License.
|
|||
}
|
||||
|
||||
.mx_ImageView_imageBox {
|
||||
overflow: auto;
|
||||
margin: 0 50px 50px 50px;
|
||||
overflow: scroll;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.mainImage {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.mx_ImageView_content img {
|
||||
object-fit: contain;
|
||||
pointer-events: all;
|
||||
//margin: auto;
|
||||
//margin: 0 auto 0 auto;
|
||||
}
|
||||
|
||||
.mx_ImageView_panel {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue