@schneiderelli/cms-runtime 0.1.2 → 0.1.4
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,29 +167,30 @@
|
|
|
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
|
+
display: block;
|
|
175
|
+
margin: 0.5rem 0;
|
|
174
176
|
}
|
|
175
177
|
|
|
178
|
+
/* Float left - text wraps on right */
|
|
176
179
|
.csm-markdown :global(img[style*="float: left"]) {
|
|
177
180
|
float: left;
|
|
178
|
-
margin: 0 1rem
|
|
181
|
+
margin: 0.5rem 1rem 0.5rem 0;
|
|
179
182
|
}
|
|
180
183
|
|
|
184
|
+
/* Float right - text wraps on left */
|
|
181
185
|
.csm-markdown :global(img[style*="float: right"]) {
|
|
182
186
|
float: right;
|
|
183
|
-
margin: 0 0
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.csm-markdown :global(img[style*="display: block"]) {
|
|
187
|
-
display: block;
|
|
188
|
-
margin: 1rem auto;
|
|
187
|
+
margin: 0.5rem 0 0.5rem 1rem;
|
|
189
188
|
}
|
|
190
189
|
|
|
191
|
-
/* Clear floats
|
|
192
|
-
.csm-markdown :global(p
|
|
193
|
-
|
|
190
|
+
/* Clear floats */
|
|
191
|
+
.csm-markdown :global(p)::after {
|
|
192
|
+
content: "";
|
|
193
|
+
display: table;
|
|
194
|
+
clear: both;
|
|
194
195
|
}
|
|
195
196
|
</style>
|
package/package.json
CHANGED