Fix dashboard cards squishing
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
.dashboard-scroller-title {
|
||||
text-align: left;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0.625rem;
|
||||
padding: 0.3125rem;
|
||||
}
|
||||
|
||||
.dashboard-scroller-no-books {
|
||||
padding-top: 3rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.dashboard-scroller-infinite {
|
||||
display: flex;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
scroll-snap-type: x mandatory;
|
||||
padding: 0.25rem;
|
||||
gap: 1.25rem;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.dashboard-scroller-card {
|
||||
height: 220px;
|
||||
width: 135px;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
flex-basis: 135px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user