We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2feb10f commit d9c2e88Copy full SHA for d9c2e88
src/Elastic.Markdown/Assets/markdown/images.css
@@ -0,0 +1,18 @@
1
+@layer components {
2
+ .markdown-content {
3
+ a.image-reference {
4
+ @apply block mt-4 align-middle;
5
+ &>img {
6
+ @apply block;
7
+ }
8
9
+ /*
10
+ * tailwind reset makes all images `display: block`
11
+ * this resets it to `display: initial`
12
+ */
13
+ img {
14
+ display: initial;
15
+ vertical-align: initial;
16
17
18
+}
src/Elastic.Markdown/Assets/styles.css
@@ -10,6 +10,7 @@
@import "./markdown/dropdown.css";
@import "./markdown/table.css";
@import "./markdown/definition-list.css";
+@import "./markdown/images.css";
:root {
0 commit comments