Skip to content

Commit

Permalink
made dashboard card responsive for large screen
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-pranav committed Nov 25, 2024
1 parent 7e07c8f commit 5a6fa52
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions css/admin-dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,30 @@ h2.hndle.ui-sortable-handle {
padding: 25px;
}

@media (max-width: 768px) {
.qsm-dashboard-cards-container .qsm-dashboard-card {
width: 100%;
}
.qsm-dashboard-cards-container .qsm-dashboard-card:not(:last-child) {
margin-bottom: 10px;
}
}

@media (min-width: 770px) and (max-width: 1280px) {
.qsm-dashboard-cards-container .qsm-dashboard-card {
width: calc(50% - 20px);
}
.qsm-dashboard-cards-container .qsm-dashboard-card:not(:last-child) {
margin-bottom: 10px;
}
}

@media (min-width: 1441px) {
.qsm-dashboard-cards-container .qsm-dashboard-card {
width: 32%;
}
}

.qsm-dashboard-cards-container .qsm-dashboard-card .qsm-dashboard-card-content {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 5a6fa52

Please sign in to comment.