mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
refactor: update scoreboard image styles and add character images for Chun-Li and Juri
This commit is contained in:
@@ -1073,18 +1073,25 @@ watch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
.scoreboard-preview__image-wrap {
|
.scoreboard-preview__image-wrap {
|
||||||
|
position: relative;
|
||||||
width: min(100%, 320px);
|
width: min(100%, 320px);
|
||||||
aspect-ratio: 4 / 4;
|
aspect-ratio: 4 / 4;
|
||||||
overflow: hidden;
|
overflow: visible;
|
||||||
background: #1D1D1D;
|
background: #1D1D1D;
|
||||||
|
contain: layout;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scoreboard-preview__image {
|
.scoreboard-preview__image {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: contain;
|
||||||
object-position: center;
|
object-position: center;
|
||||||
|
transform: scale(1.5);
|
||||||
|
transform-origin: center center;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scoreboard-preview__empty {
|
.scoreboard-preview__empty {
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
Reference in New Issue
Block a user