Skip to content

Removed --checkmark-top to fix multiline checkboxes#191

Merged
chanagaray merged 1 commit intojdan:mainfrom
vtlanglois:vtlanglois/issue142
Jan 25, 2024
Merged

Removed --checkmark-top to fix multiline checkboxes#191
chanagaray merged 1 commit intojdan:mainfrom
vtlanglois:vtlanglois/issue142

Conversation

@vtlanglois
Copy link
Copy Markdown
Collaborator

Fixes #142

In this PR:

  • Removed --checkmark-top and related top:... code to fix multiline checkboxes1

💭 Reasoning

As stated in #142, if a label was wrapped to be more than one line, the checkbox would be centered but not the checkmark.

2

The source of this issue was due to --checkmark-top forcing a top: 3px onto the checkmark1, which seemed to worked as intended until the label became multiline. When disabled, however, the top declaration didn't seem to be doing anything to force the checkmark to appear in the right place.

Screenshot 2024-01-22 at 5 13 41 PM

When removed, no visible changes occurred.

📈 Impact

Should this PR be accepted, this should prevent a noticeable visual bug from occurring.

📔 Dev Note

Does anyone know what a multiline checkbox would look like in W98? Couldn't find any examples of that, nor have I been able to get a VM going with W98 to check.

Footnotes

  1. This fix was first reported by @psyklon-project here 2

  2. Image from @metropolis-nostalgia

@vtlanglois vtlanglois self-assigned this Jan 22, 2024
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
98css ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2024 10:17pm

@chanagaray
Copy link
Copy Markdown
Collaborator

Thanks!!

@chanagaray chanagaray merged commit b31fe7b into jdan:main Jan 25, 2024
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.

Checkbox cannot center check mark

2 participants