forked from DebaucheryLibrarian/traxxx
Actor tiles maintain aspect ratio.
This commit is contained in:
@@ -400,13 +400,14 @@ export default {
|
||||
}
|
||||
|
||||
.actors {
|
||||
display: flex;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
|
||||
grid-gap: 1rem;
|
||||
flex-grow: 1;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.actor {
|
||||
width: 10rem;
|
||||
margin: 0 1rem .5rem 0;
|
||||
}
|
||||
|
||||
@@ -477,5 +478,9 @@ export default {
|
||||
width: 15rem;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.actors {
|
||||
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user