Skip to content

Commit ed1ed6b

Browse files
committed
STYLE: Refactor columnFilters and filter-group styles for improved layout and spacing
1 parent b8309c1 commit ed1ed6b

File tree

1 file changed

+39
-6
lines changed

1 file changed

+39
-6
lines changed

front/css/app.css

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,15 +1413,48 @@ textarea[readonly],
14131413

14141414

14151415
#columnFilters {
1416-
display: flex;
1417-
flex-wrap: wrap;
1418-
gap: 10px; /* Add spacing between items */
1416+
display: grid;
1417+
grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
1418+
gap: 0.75em;
1419+
padding: 0.5em 0;
1420+
}
1421+
1422+
#columnFilters::before,
1423+
#columnFilters::after {
1424+
display: none !important;
14191425
}
14201426

14211427
.filter-group {
1422-
box-sizing: border-box; /* Ensure padding and borders are included in the width */
1423-
padding: 1em;
1424-
padding-top: 0;
1428+
box-sizing: border-box;
1429+
padding: 0.4em;
1430+
margin: 0;
1431+
border-radius: 3px;
1432+
display: flex;
1433+
flex-direction: column;
1434+
align-items: stretch;
1435+
gap: 0.15em;
1436+
white-space: normal;
1437+
}
1438+
1439+
.filter-group label {
1440+
box-sizing: border-box;
1441+
margin: 0;
1442+
border-radius: 3px;
1443+
display: flex;
1444+
flex-direction: column;
1445+
align-items: stretch;
1446+
gap: 0.15em;
1447+
white-space: normal;
1448+
padding-left: 15px;
1449+
padding-right: 0px;
1450+
}
1451+
1452+
.filter-dropdown {
1453+
width: 100%;
1454+
}
1455+
.filter-group select {
1456+
margin-left: 15px;
1457+
padding-right: 0px;
14251458
}
14261459

14271460
.filter-dropdown

0 commit comments

Comments
 (0)