Fix: Make clients page responsive for all screens (#2383)

This commit is contained in:
Dhruv Rajpoot
2025-04-06 09:13:04 -06:00
committed by GitHub
parent b18488873f
commit 413c2aff8c
2 changed files with 63 additions and 1 deletions
+62
View File
@@ -105,3 +105,65 @@ $color: #e2e4ec;
width: $bar;
}
}
@media (max-width: 768px) {
.container {
.search-box,
.filter-box,
.action-button {
width: 100%;
margin-bottom: 15px;
}
.search-box mat-form-field {
width: 100%;
}
.action-button {
display: flex;
flex-direction: column;
gap: 10px;
align-items: stretch;
}
.filter-box {
display: flex;
align-items: center;
}
}
table {
width: 100%;
overflow-x: auto;
display: block;
thead,
tbody,
tr,
th,
td {
white-space: nowrap;
}
}
.mat-paginator {
overflow-x: auto;
display: block;
}
.alert {
text-align: center;
padding: 10px;
}
}
@media screen and (max-width: 768px) {
.action-button {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
button {
width: 100%;
}
}
}