Change Caption component tag from a caption to div
Caption tag can only reside in specific context, this change makes it more generic, so it can be used freely
This commit is contained in:
parent
cccc762e51
commit
ad183bbc0e
@ -1,6 +1,6 @@
|
|||||||
import styled from "@emotion/styled";
|
import styled from "@emotion/styled";
|
||||||
|
|
||||||
const Caption = styled("caption")(({ theme }) => ({
|
const Caption = styled("div")(({ theme }) => ({
|
||||||
color: theme.palette.text.secondary,
|
color: theme.palette.text.secondary,
|
||||||
fontSize: "0.75rem",
|
fontSize: "0.75rem",
|
||||||
lineHeight: 1.5,
|
lineHeight: 1.5,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user