@schneiderelli/cms-runtime 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -167,12 +167,24 @@
|
|
|
167
167
|
margin: 1.5rem 0;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
/*
|
|
170
|
+
/* Images - allow text wrapping */
|
|
171
171
|
.csm-markdown :global(img) {
|
|
172
172
|
max-width: 100%;
|
|
173
173
|
height: auto;
|
|
174
174
|
display: inline-block;
|
|
175
|
-
vertical-align:
|
|
176
|
-
margin: 0 0.
|
|
175
|
+
vertical-align: top;
|
|
176
|
+
margin: 0.5rem 1rem 0.5rem 0;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* Float left - text wraps on right */
|
|
180
|
+
.csm-markdown :global(img[style*="float: left"]) {
|
|
181
|
+
float: left;
|
|
182
|
+
margin: 0.5rem 1rem 0.5rem 0;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* Float right - text wraps on left */
|
|
186
|
+
.csm-markdown :global(img[style*="float: right"]) {
|
|
187
|
+
float: right;
|
|
188
|
+
margin: 0.5rem 0 0.5rem 1rem;
|
|
177
189
|
}
|
|
178
190
|
</style>
|
package/package.json
CHANGED