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

fix(Button): remove illegal div wrapping children #4695

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

matthprost
Copy link
Collaborator

Summary

Type

  • Bug

Summarise concisely:

What is expected?

Inside the button we are wrapping the text into a div for some reason. This can cause alignement issues and it is illegal according to HTML5 specifications. 🚓

Relevant logs and/or screenshots

Page Before After
url Screenshot 2025-01-23 at 14 57 03 Screenshot 2025-01-23 at 14 58 21
url Screenshot 2025-01-23 at 14 57 20 Screenshot 2025-01-23 at 14 58 32

@matthprost matthprost added the bug Something isn't working label Jan 23, 2025
@matthprost matthprost self-assigned this Jan 23, 2025
@matthprost matthprost requested review from johnrazeur, a team and lisalupi as code owners January 23, 2025 14:13
Copy link

changeset-bot bot commented Jan 23, 2025

🦋 Changeset detected

Latest commit: c9ada54

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@ultraviolet/ui Patch
@ultraviolet/form Patch
@ultraviolet/plus Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.98%. Comparing base (aafef07) to head (c9ada54).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4695      +/-   ##
==========================================
- Coverage   88.98%   88.98%   -0.01%     
==========================================
  Files         227      227              
  Lines        7973     7970       -3     
  Branches     3621     3618       -3     
==========================================
- Hits         7095     7092       -3     
  Misses        878      878              
Files with missing lines Coverage Δ
packages/ui/src/components/Button/index.tsx 97.32% <100.00%> (-0.07%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aafef07...c9ada54. Read the comment docs.

@matthprost matthprost merged commit c4767ba into main Jan 27, 2025
14 checks passed
@matthprost matthprost deleted the fix/button-alignement branch January 27, 2025 13:03
@scaleway-bot scaleway-bot mentioned this pull request Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants