Skip to content

Commit 328dcc9

Browse files
authored
Fix review form checkbox styling (#45)
This fixes an issue I reported on the pgsql-www mailing list [1]. The checkboxes that were present on the review form were not displayed correctly. This makes some small css tweaks to address that problem. A better fix would probably be to generate different HTML, but that would require changing the way forms are rendered by Django for these checkboxes. Which is not trivial to do. So for now this fix is fine. Before: ![image](https://github.com/user-attachments/assets/af15ec16-116b-43cf-988f-611d3f0b2ffa) After: ![image](https://github.com/user-attachments/assets/68e720f3-49a7-4b73-b718-b1c56f212d65) [1]: https://www.postgresql.org/message-id/flat/CADXhmgQbed%2BJP3o5szv15sKsT5gkfZi4urOSLsYoC-oAGepK7g%40mail.gmail.com
1 parent 95aa0f3 commit 328dcc9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

media/commitfest/css/commitfest.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ div.form-group div.controls ul li label input {
3030
}
3131
div.form-group div.controls input[type="checkbox"] {
3232
width: 10px;
33+
height: unset;
34+
display: inline-block;
35+
}
36+
div.form-group div.controls > div.form-control:has(input[type="checkbox"]) {
37+
display: flex;
38+
gap: 8px;
3339
}
3440

3541
div.form-group div.controls input.threadpick-input {

0 commit comments

Comments
 (0)