Fixed image preview
This commit is contained in:
parent
8ddeca2227
commit
8d66285ee8
1 changed files with 9 additions and 2 deletions
|
@ -414,10 +414,17 @@ dialog header label {
|
||||||
dialog header button {
|
dialog header button {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
dialog > img {
|
#media-preview {
|
||||||
/* fix for media preview */
|
height: 100%;
|
||||||
|
}
|
||||||
|
#media-preview > img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%) translateY(-50%);
|
||||||
}
|
}
|
||||||
dialog > .container {
|
dialog > .container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue