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

Add caption-top and caption-bottom utilities #10470

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

MichaelAllenWarner
Copy link
Contributor

Adds caption-top and caption-bottom utilities for the caption-side CSS property, which is used to position captions in tables. The property also accepts logical values, but I did not include them here.

Note that this property can be used on anything with display: table-caption that's a child of something with display: table. This is often useful in figure/figcaption contexts because these display values prevent the figcaption from exceeding the width of its siblings: https://play.tailwindcss.com/2pk9sH50FD

@adamwathan
Copy link
Member

Thanks looks good! The hard part as always is the documentation but I will squeeze in some time to write all of that at some point before the next minor release. No more new features until after that please 😄

@adamwathan adamwathan merged commit f395cc4 into tailwindlabs:master Feb 7, 2023
@MichaelAllenWarner
Copy link
Contributor Author

@adamwathan

No more new features until after that please 😄

I promise!

RobinMalfait added a commit that referenced this pull request Feb 8, 2023
RobinMalfait added a commit that referenced this pull request Feb 8, 2023
* Revert "add caption-side utilities (#10470)"

This reverts commit f395cc4.

* Revert "Add support for configuring default `font-variation-settings` for a `font-family` (#10515)"

This reverts commit 8bd2846.

* Revert "feat: add hyphens (#10071)"

This reverts commit f58a43f.

* Revert "Add logical properties support for inline direction"

* Revert "Add `delay-0` and `duration-0` by default"

* Revert "Support using variables as arbitrary values without `var()`"

* Revert "Add `line-height` modifier support to `font-size` utilities"
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.

None yet

2 participants