Skip to content

Fix review form checkbox styling #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 1, 2025

Conversation

msakrejda
Copy link
Contributor

@msakrejda msakrejda commented Feb 28, 2025

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

After:
image

@JelteF
Copy link
Collaborator

JelteF commented Mar 1, 2025

Thank you, that looks much better.

@JelteF JelteF merged commit 328dcc9 into postgres:main Mar 1, 2025
1 check passed
JelteF pushed a commit that referenced this pull request Mar 1, 2025
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
JelteF pushed a commit that referenced this pull request Mar 17, 2025
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants