Skip to content

Commit 90e3216

Browse files
Make district table responsive
1 parent 715e445 commit 90e3216

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

src/styles/DisplayTable.css

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,7 @@ table {
2929
transition: all .4s;
3030
}
3131

32-
@media (max-width: 600px) {
33-
.tableHead {
34-
margin: 0;
35-
}
3632

37-
.tableHead-Button {
38-
padding: 1rem;
39-
}
40-
}
4133

4234
.tableHead-Button:hover,
4335
.tableHead-Button:focus {
@@ -128,4 +120,25 @@ table {
128120
.spacer-top {
129121
display: block;
130122
margin-bottom: .5rem;
123+
}
124+
125+
@media (max-width: 600px) {
126+
.tableHead {
127+
margin: 0;
128+
}
129+
130+
.tableHead-Button {
131+
padding: 1rem;
132+
}
133+
134+
.district-td {
135+
padding: .2rem;
136+
margin: 0;
137+
}
138+
139+
.districtHead {
140+
padding: .2rem;
141+
margin: 0;
142+
/* font-size: 1rem; */
143+
}
131144
}

0 commit comments

Comments
 (0)