Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Fix checkbox's width#359

Merged
Ladsgroup merged 1 commit into
masterfrom
fix-checkbox-width
Jan 22, 2021
Merged

Fix checkbox's width#359
Ladsgroup merged 1 commit into
masterfrom
fix-checkbox-width

Conversation

@sai-san
Copy link
Copy Markdown
Contributor

@sai-san sai-san commented Jan 21, 2021

Applying min-width (and min-height, just in case) to prevent the checkbox input from shrinking.

Issue: T272609 (1)

adding min-height too to prevent potential issues with it
@github-actions
Copy link
Copy Markdown

align-items: center;

&::before {
width: $wikit-Checkbox-input-size;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I removed the width and height properties because I understand they're being overridden by the min properties, but please correct me if I'm wrong.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested. It works as expected.

@sai-san sai-san requested a review from a team January 21, 2021 18:03
align-items: center;

&::before {
width: $wikit-Checkbox-input-size;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested. It works as expected.

@Ladsgroup Ladsgroup changed the title fix checkbox's width Fix checkbox's width Jan 22, 2021
@Ladsgroup Ladsgroup merged commit dcd7c06 into master Jan 22, 2021
@Ladsgroup Ladsgroup deleted the fix-checkbox-width branch January 22, 2021 07:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants