Skip to content
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

PLANET-7660: Fix checkbox mark alignement #2441

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GP-Dan-Tovbein
Copy link
Contributor

@GP-Dan-Tovbein GP-Dan-Tovbein commented Nov 14, 2024

Ref: https://jira.greenpeace.org/browse/PLANET-7660

Testing

Navigate through this page and click on "I agree on providing my name, email and content so that my comment can be stored and displayed in the website." checkbox. The mark should be correctly aligned.

@GP-Dan-Tovbein GP-Dan-Tovbein self-assigned this Nov 14, 2024
planet-4 added a commit to greenpeace/planet4-test-rhea that referenced this pull request Nov 14, 2024
/unhold 359683c9-1016-4e78-adfa-083712c6cf29
@planet-4
Copy link
Contributor

planet-4 commented Nov 14, 2024

Test instance is ready 🚀

🌑 rhea | admin | blocks report | CircleCI | composer-local.json

⌚ 2024.11.15 07:46:33

@GP-Dan-Tovbein GP-Dan-Tovbein requested review from a team, sagarsdeshmukh and mardelnet and removed request for a team November 14, 2024 16:41
@@ -6,6 +6,9 @@ $large-width: 992px;
$extra-large-width: 1200px;
$extra-extra-large-width: 1600px;

// Override html selectors
$checkbox-size: 20px;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using this value as variable since it's being used in both files. It will avoid to hve conflict with sizes.

@GP-Dan-Tovbein GP-Dan-Tovbein force-pushed the PLANET-7660_fix-checkbox-mark-alignment branch from a21859f to b85ea4a Compare November 14, 2024 16:43
@GP-Dan-Tovbein GP-Dan-Tovbein marked this pull request as ready for review November 14, 2024 16:45
planet-4 added a commit to greenpeace/planet4-test-rhea that referenced this pull request Nov 14, 2024
/unhold 72f9d0f7-6e75-4317-a1b0-c20b44c1841e
planet-4 added a commit to greenpeace/planet4-test-rhea that referenced this pull request Nov 15, 2024
/unhold bd96f132-d795-49c1-ae0f-57c6747fa3b3
Copy link
Contributor

@mleray mleray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue isn't solved on the Search page, and also not in the form that I've added to your test page. It also still looks broken if the comments checkbox label is only one line long:

Screenshot 2024-11-15 at 10 54 51

Copy link
Contributor

@mardelnet mardelnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GP-Dan-Tovbein, in the testing instance I see well the checkbox in the comments box, but not in the form:

Duis-posuere-6-Greenpeace
Duis-posuere-6-Greenpeace(1)

@GP-Dan-Tovbein
Copy link
Contributor Author

Thanks both! I've just noticed that the issue is fixed where the text is 2 lines. We need to be sure that it might works for N lines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants