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

Don't truncate label fields with placeholders #1299

Merged
merged 1 commit into from
Oct 28, 2021
Merged

Conversation

Vinnl
Copy link
Collaborator

@Vinnl Vinnl commented Oct 26, 2021

Otherwise, label fields without a value will have a different width
from those with a value.

Fixes #1223.

Note that this reverts part of #978, but since that was intended to prevent long alias names from expanding beyond the target width (which still works), I think this should be fine.

Otherwise, label fields without a value will have a different width
from those with a value.
@Vinnl Vinnl requested a review from maxxcrawford October 26, 2021 14:19
@Vinnl Vinnl self-assigned this Oct 26, 2021
@maxxcrawford maxxcrawford added the need-review This PR is ready for review label Oct 27, 2021
Copy link
Contributor

@maxxcrawford maxxcrawford left a comment

Choose a reason for hiding this comment

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

Yes! Feels good to remove all/any 🪄 Magic Numbers™

@@ -585,7 +585,6 @@ input::placeholder,
.relay-email-address-label:placeholder-shown {
color: $color-grey-50;
opacity: 1;
width: 192px;
Copy link
Contributor

Choose a reason for hiding this comment

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

🧹

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

🧙

@maxxcrawford maxxcrawford removed the need-review This PR is ready for review label Oct 27, 2021
@Vinnl Vinnl merged commit 361ba93 into main Oct 28, 2021
@Vinnl Vinnl deleted the 1223-consistent-labels branch October 28, 2021 09:30
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.

The label fields have different dimensions if they are created using the add-on compared to dashboard
2 participants