-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Remove duplicated display URL in LinkControl #53167
Conversation
Size Change: -173 B (0%) Total Size: 1.44 MB
ℹ️ View Unchanged
|
Flaky tests detected in 233b22e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5715718487
|
This is probably because the image extension is |
I noticed that and in general we need some polishing there(for example this line is an improvement to trunk). We could probably align them better if we conditionally applied flex-start/center here, depending of one lines vs two lines. |
I don't know that it needs to be conditional. If the line-height of the |
I updated that. Make sure you test a link control with two lines(when the url is not the same with the title), if it feels okay or we need to make adjustments there too. |
Anything else to do here? I'll be AFK next week and would love to wrap this up. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to me :)
What?
Resolves: #53143
In Link Control component do not render the URL if it's the same with the displayed title.
Before
After