Closed realvandi closed 3 months ago
If you don't specify a variant, the default is text
which has it's own styling. From the docs:
represents a single line of text (you can adjust the height via font size).
Oops, you're right, thanks for pointing this out. I guess I missed that part of the documentation. Thanks for the response!
Search keywords
Skeleton, Height, Padding, Margin
Latest version
Steps to reproduce
Done in a fresh NextJS project:
Current behavior
-TL;DR: Excluding the
variant
attribute makes the height of askeleton
component unexpected.Expected behavior
-Including/excluding the variant attribute should not affect how the height of the skeleton grows.
Context
-Reproduced in a fresh NextJS project, using the latest versions of
@mui/material
and@mui/system
available from NPM.Your environment