33 lines
692 B
Plaintext
33 lines
692 B
Plaintext
/**index.less**/
|
|
page {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.scroll-view {
|
|
flex: 1;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.card {
|
|
margin: 10px;
|
|
padding: 10px;
|
|
background-color: #fff;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
width: calc(33.33% - 20px);
|
|
/* Adjust width for three cards per row */
|
|
box-sizing: border-box;
|
|
/* Ensure padding and margin are included in the width */
|
|
display: inline-block;
|
|
/* Allow cards to sit next to each other */
|
|
vertical-align: top;
|
|
/* Align cards to the top */
|
|
|
|
.card-title {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
} |