None of the checkboxes in theme are aligned to their label

Steps to reproduce

  • Go to /admin/config/development/performance and check the Aggregate CSS and JS part.
  • Can be seen in any add content or edit page like /node/add/article

Proposed resolution

Label and checkbox should be aligned with each other.

Issue fork holy-3391816

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • 2.0.x Comparecompare

Comments

swatidhurandhar created an issue. See original summary.

chetan 11’s picture

Hi @swatidhurandhar
I have reproduced this theme on my local to check the above error's, but i did not see both on my setup.
I'm using D10 verison , if you're using diffrent version please let me know.
Please go through the screenshots.

yogesh.k’s picture

Assigned: Unassigned » yogesh.k
yogesh.k’s picture

Assigned: yogesh.k » Unassigned
swatidhurandhar’s picture

@chetan11
I found issue in Drupal10.1 when I installed the theme using composer command from its info page "composer require 'drupal/holy:^2.0'".
Please try to install in suggested way, and let me know.

gautam_105@’s picture

Status: Active » Needs review
StatusFileSize
new348 bytes
new26.59 KB

Hi swatidhurandhar,
i have fixed this issue and created patch for the same. Please review and see screenshot as well.

chetan 11’s picture

StatusFileSize
new408 bytes

HI @swatidhurandhar
Please review the attached pathc.

jaroslav červený’s picture

Hello, please add change to:
holy\sass\components\01-atoms\_form-elements.scss

shyam_bhatt’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new82.01 KB
new75.36 KB

@chetan I have checked patch #7, working fine.
After applying the patch the checkbox and label position are fixed.

Please check the images below.

Before:
2023-10-06/3391816-7-before.png

After:
2023-10-06/3391816-7-after.png

Moving to +RTBC

jaroslav červený’s picture

Thank you for test.

I'll add change to holy\sass\components\01-atoms\_form-elements.scss alone.

jaroslav červený’s picture

StatusFileSize
new1.91 KB

Here is patch with sass file.

shyam_bhatt’s picture

@Jaroslav Červený I have checked the #11 patch, updated with the scss file. Working fine.

Moving to +RTBC.

jaroslav červený’s picture

jaroslav červený’s picture

Version: 2.0.4 » 2.0.5
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.