Add support for image popovers (#854)

* feat(popover): Add support for images

* fix: run prettier

* feat(popover): use switch logic for content types & adjust styles

* feat(popover): Add content type data tag for popover-inner class
This commit is contained in:
David Fischer authored and GitHub committed 2024-02-14 15:41:13 -05:00
1 parent 2041341d9f
commit 6c8023463d
3 files changed
+42 -11

No files matched your search

+11
View File
@@ -38,6 +38,17 @@
white-space: normal;
}
& > .popover-inner[data-content-type="image"] {
padding: 0;
max-height: 100%;
img {
margin: 0;
border-radius: 0;
display: block;
}
}
h1 {
font-size: 1.5rem;
}