Create overviewLayout.css
This commit is contained in:
parent
fddf2ecdce
commit
8ddc1822f0
|
@ -0,0 +1,28 @@
|
||||||
|
.overview-cards {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.overview-card {
|
||||||
|
border-radius: 16px;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||||
|
width: 44%;
|
||||||
|
padding: 12px 16px;
|
||||||
|
background-color: #FFF;
|
||||||
|
min-width: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Media query for smaller screens */
|
||||||
|
@media screen and (max-width: 1000px) {
|
||||||
|
/* Adjust 600px based on your requirements */
|
||||||
|
.overview-cards {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
.overview-card {
|
||||||
|
width: 150%;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue