Fixed the host banner resize modes

master
WolverinDEV 2021-04-25 11:35:16 +02:00
parent 5ec0b5c943
commit 4b6ff14fb2
1 changed files with 17 additions and 18 deletions

View File

@ -56,24 +56,6 @@
}
&.mode-resize {
/* do adjust and ignore ration */
display: flex;
height: 100%;
width: 100%;
> img {
object-fit: contain;
max-height: 100%;
max-width: 100%;
min-width: 100%;
min-height: 100%;
}
}
&.mode-resize-ratio {
display: flex;
flex-direction: row;
justify-content: space-around;
@ -89,4 +71,21 @@
width: min-content;
}
}
&.mode-resize-ratio {
display: flex;
height: 100%;
width: 100%;
> img {
object-fit: contain;
max-height: 100%;
max-width: 100%;
min-width: 100%;
min-height: 100%;
}
}
}