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 {
|
||||
font-size: 24px;
|
||||
}
|
||||
dialog > img {
|
||||
/* fix for media preview */
|
||||
#media-preview {
|
||||
height: 100%;
|
||||
}
|
||||
#media-preview > img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
display: block;
|
||||
position: relative;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
dialog > .container {
|
||||
display: flex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue