Feature: add game cover upload with compact thumbnails
This commit is contained in:
20
styles.css
20
styles.css
@@ -471,6 +471,21 @@ button {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.game-cover {
|
||||
width: 56px;
|
||||
height: 76px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #ccd8e6;
|
||||
object-fit: cover;
|
||||
background: #f0f4f9;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.game-main {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.game-card.editing {
|
||||
border-color: color-mix(in hsl, var(--accent-2), white 35%);
|
||||
box-shadow: 0 0 0 2px color-mix(in hsl, var(--accent-2), white 80%);
|
||||
@@ -557,6 +572,11 @@ button {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.game-cover {
|
||||
width: 48px;
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
.game-actions {
|
||||
width: 100%;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
|
||||
Reference in New Issue
Block a user