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

feat(table): add optional caption - FRONT-4274 #3253

Merged
merged 6 commits into from Mar 27, 2024

Conversation

emeryro
Copy link
Contributor

@emeryro emeryro commented Feb 22, 2024

  • add table caption to the demo. A twig parameter caption is provided to add it easily
  • style caption

Copy link

github-actions bot commented Feb 22, 2024

@github-actions github-actions bot temporarily deployed to pull request February 22, 2024 07:40 Inactive
@github-actions github-actions bot temporarily deployed to pull request March 20, 2024 09:35 Inactive
@github-actions github-actions bot temporarily deployed to pull request March 25, 2024 07:58 Inactive
@github-actions github-actions bot temporarily deployed to pull request March 25, 2024 08:19 Inactive
@@ -73,6 +73,14 @@ $table: null !default;
}
}

.ecl-table__caption {
caption-side: bottom;
Copy link
Contributor

Choose a reason for hiding this comment

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

considering that most likely we will receive requests to make this position parametrical, why don't we add this option already?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The position has been decided by the designers.
So, sure, we could make it as a parameter, but this may be just an option never used. I'd rather wait to have a use case

@github-actions github-actions bot temporarily deployed to pull request March 25, 2024 13:37 Inactive
@planctus planctus removed the Question label Mar 25, 2024
@planctus planctus self-requested a review March 25, 2024 14:41
@emeryro emeryro merged commit 26de42f into v4-dev Mar 27, 2024
7 checks passed
@emeryro emeryro deleted the FRONT-4274-acc-table-caption branch March 27, 2024 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants