nk_jtb 0.12.0 → 0.12.1
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.
- package/package.json +1 -1
- package/src/base/_base.scss +7 -8
- package/src/extras/_nk-docs.scss +1 -1
package/package.json
CHANGED
package/src/base/_base.scss
CHANGED
|
@@ -284,19 +284,18 @@ ol {
|
|
|
284
284
|
|
|
285
285
|
// -- Nested Lists --
|
|
286
286
|
|
|
287
|
-
// NK::COMMENT these have been disabled because there were some tweaks made
|
|
288
|
-
// above. I do not think they are necessary anymore.
|
|
289
|
-
|
|
290
287
|
// // 1. keep consistent spacing
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
// }
|
|
288
|
+
li ul,
|
|
289
|
+
li ol {
|
|
290
|
+
margin-top: $base-list-spacing; // 1
|
|
291
|
+
}
|
|
296
292
|
|
|
297
293
|
// These list styles are quite opinionated, however they seem to be
|
|
298
294
|
// a good fit overall and should be easy enough to override
|
|
299
295
|
|
|
296
|
+
// NK::COMMENT these have been disabled because there were some tweaks made
|
|
297
|
+
// above. I do not think they are necessary anymore.
|
|
298
|
+
|
|
300
299
|
// :is(li:not(:first-child):not(nav li):not(.menu li)) {
|
|
301
300
|
// margin-block-start: $base-list-spacing; // consistent spacing between list items
|
|
302
301
|
// }
|
package/src/extras/_nk-docs.scss
CHANGED
|
@@ -42,7 +42,7 @@ $question-color: #2299dd !default;
|
|
|
42
42
|
//
|
|
43
43
|
// This is a hack to fix the spacing issue caused by the above problem and
|
|
44
44
|
// it is not yet clear i this will cause any side effects.
|
|
45
|
-
li > p {
|
|
45
|
+
li > :is(p, pre) {
|
|
46
46
|
margin-block-start: $base-list-spacing;
|
|
47
47
|
}
|
|
48
48
|
}
|