Skip to content

Commit 8cb4c11

Browse files
committed
Style selector box
- Keep label and checkbox together - Do not shrink sidebox when displaying jobs
1 parent 853b51f commit 8cb4c11

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/styles/global.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,17 @@ a {
5454
min-width: 9rem;
5555
display: flex;
5656
flex-direction: column;
57+
flex-shrink: 0;
5758
}
5859
.filter {
5960
background: #eee;
6061
padding: 2rem;
6162
}
63+
.filter label {
64+
display: inline-block;
65+
white-space: nowrap;
66+
margin-top: 0.5rem;
67+
}
6268
.section {
6369
font-weight: bold;
6470
margin-bottom: 0.5rem;
@@ -86,6 +92,7 @@ a {
8692
.jobList {
8793
display: flex;
8894
flex-wrap: wrap;
95+
flex-grow: 1;
8996
}
9097
.job {
9198
width: 30rem;

0 commit comments

Comments
 (0)