We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the generated style for .wp-caption-text makes it invisible.
.wp-caption-text { font-size: 0; color: #4b5563; }
I think it boils down to tailwindcss-tailpress library, which expects a "sm" size, or perhaps it should be fontSizes (plural) ?
const imageCaptions = { '.wp-caption': { "@apply inline-block": {}, '& img': { marginBottom: margin[2] || '0.5rem', "@apply leading-none": {} }, }, '.wp-caption-text': { fontSize: (fontSize.sm && fontSize.sm[0]) || '0.9rem', color: (colors.gray && colors.gray[600]) || '#718096', }, };
It does not seem to pickup my theme.json typography.fontsizes array values.
To be honest, I would suggest to entirely remove this imageCaptions utility: I'd rather tweak it using good old css.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
the generated style for .wp-caption-text makes it invisible.
I think it boils down to tailwindcss-tailpress library, which expects a "sm" size, or perhaps it should be fontSizes (plural) ?
It does not seem to pickup my theme.json typography.fontsizes array values.
To be honest, I would suggest to entirely remove this imageCaptions utility: I'd rather tweak it using good old css.
The text was updated successfully, but these errors were encountered: