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(mrc): fix <TileBlock /> #14924

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

fix(mrc): fix <TileBlock /> #14924

wants to merge 1 commit into from

Conversation

rjamet-ovh
Copy link
Contributor

Question Answer
Branch? develop
Bug fix? yes/no
New feature? yes/no
Breaking change? yes/no
Tickets Fix #14917
License BSD 3-Clause
  • Try to keep pull requests small so they can be easily reviewed.
  • Commits are signed-off
  • Only FR translations have been updated
  • Branch is up-to-date with target branch
  • Lint has passed locally
  • Standalone app was ran and tested locally
  • Ticket reference is mentioned in linked commits (internal only)
  • Breaking change is mentioned in relevant commits

Description

  • fix layout
  • use for label

- fix layout
- use <OdsText /> for label

ref: 14917

Signed-off-by: Romain Jamet <[email protected]>
@rjamet-ovh rjamet-ovh requested review from a team as code owners January 15, 2025 09:20
@rjamet-ovh rjamet-ovh linked an issue Jan 15, 2025 that may be closed by this pull request
3 tasks
@github-actions github-actions bot added the bug Something isn't working label Jan 15, 2025
Comment on lines +13 to +16
<div className="flex flex-col gap-1">
<OdsText preset={ODS_TEXT_PRESET.heading6}>{label}</OdsText>
{children}
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: Retaining the dl dt dd format is good imo as it provides the necessary accessibility https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl and in fact it's ties the label to the information.

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.

[manager-components]: <TileBlock />
5 participants