@kids-reporter/draft-renderer 1.0.22 → 1.0.23
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.
|
@@ -31,7 +31,7 @@ const Paragraph = exports.Paragraph = _styledComponents.default.div`
|
|
|
31
31
|
|
|
32
32
|
&:has(+ div:not([data-paragraph-block='true'])) {
|
|
33
33
|
margin-bottom: 40px;
|
|
34
|
-
${_mediaQuery.mediaQuery.
|
|
34
|
+
${_mediaQuery.mediaQuery.mediumAbove} {
|
|
35
35
|
margin-bottom: 60px;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -95,7 +95,7 @@ const List = exports.List = _styledComponents.default.ol`
|
|
|
95
95
|
|
|
96
96
|
&:has(+ div:not([data-paragraph-block='true'])) {
|
|
97
97
|
margin-bottom: 40px;
|
|
98
|
-
${_mediaQuery.mediaQuery.
|
|
98
|
+
${_mediaQuery.mediaQuery.mediumAbove} {
|
|
99
99
|
margin-bottom: 60px;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -108,22 +108,27 @@ const Atomic = exports.Atomic = _styledComponents.default.div`
|
|
|
108
108
|
|
|
109
109
|
&:has(blockquote) {
|
|
110
110
|
margin-top: -2px;
|
|
111
|
-
${_mediaQuery.mediaQuery.
|
|
111
|
+
${_mediaQuery.mediaQuery.mediumAbove} {
|
|
112
112
|
margin-top: -22px;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
${_mediaQuery.mediaQuery.desktopAbove} {
|
|
117
117
|
div:has(+ div [data-image-block-caption-alignment='default'])
|
|
118
|
-
[data-image-block-caption-alignment='default']
|
|
119
|
-
[data-image-slideshow-caption-alignment='default'] {
|
|
118
|
+
[data-image-block-caption-alignment='default'] {
|
|
120
119
|
position: relative !important;
|
|
121
120
|
}
|
|
122
|
-
}
|
|
123
|
-
${_mediaQuery.mediaQuery.largeOnly} {
|
|
124
121
|
div:has(+ div [data-image-block-caption-alignment='default'])
|
|
125
|
-
[data-image-
|
|
126
|
-
|
|
122
|
+
[data-image-slideshow-caption-alignment='default'] {
|
|
123
|
+
position: relative !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
div:has(+ div [data-image-slideshow-caption-alignment='default'])
|
|
127
|
+
[data-image-block-caption-alignment='default'] {
|
|
128
|
+
position: relative !important;
|
|
129
|
+
}
|
|
130
|
+
div:has(+ div [data-image-slideshow-caption-alignment='default'])
|
|
131
|
+
[data-image-slideshow-caption-alignment='default'] {
|
|
127
132
|
position: relative !important;
|
|
128
133
|
}
|
|
129
134
|
}
|
|
@@ -17,13 +17,9 @@ const ParagraphForImageLink = (0, _styledComponents.default)(_articleContent.Par
|
|
|
17
17
|
font-size: ${({
|
|
18
18
|
theme
|
|
19
19
|
}) => (theme === null || theme === void 0 ? void 0 : theme.fontSizeLevel) === 'large' ? '18px' : '14px'};
|
|
20
|
-
margin
|
|
21
|
-
margin-right: auto;
|
|
22
|
-
margin-top: 0.5em;
|
|
23
|
-
color: rgb(58, 79, 102);
|
|
24
|
-
letter-spacing: 0.7px;
|
|
25
|
-
line-height: 28px;
|
|
20
|
+
margin: 0;
|
|
26
21
|
text-align: left;
|
|
22
|
+
max-width: 100%;
|
|
27
23
|
|
|
28
24
|
${_mediaQuery.mediaQuery.smallOnly} {
|
|
29
25
|
padding-left: 0px;
|
|
@@ -122,7 +122,6 @@ const FigureCaption = _styledComponents.default.figcaption`
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
${_mediaQuery.mediaQuery.mediumAbove} {
|
|
125
|
-
max-width: 340px;
|
|
126
125
|
margin-left: 0px;
|
|
127
126
|
margin-right: 0px;
|
|
128
127
|
}
|
|
@@ -260,6 +259,7 @@ const ArticleBodyContainer = _styledComponents.default.div`
|
|
|
260
259
|
return `
|
|
261
260
|
${_mediaQuery.mediaQuery.smallOnly} {
|
|
262
261
|
max-width: 512px;
|
|
262
|
+
padding: 0 24px;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
${_mediaQuery.mediaQuery.mediumAbove} {
|
|
@@ -116,7 +116,6 @@ const FigureCaption = _styledComponents.default.figcaption`
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
${_mediaQuery.mediaQuery.mediumAbove} {
|
|
119
|
-
max-width: 340px;
|
|
120
119
|
margin-left: 0px;
|
|
121
120
|
margin-right: 0px;
|
|
122
121
|
}
|
|
@@ -244,6 +243,7 @@ const ArticleBodyContainer = _styledComponents.default.div`
|
|
|
244
243
|
return `
|
|
245
244
|
${_mediaQuery.mediaQuery.smallOnly} {
|
|
246
245
|
max-width: 512px;
|
|
246
|
+
padding: 0 24px;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
${_mediaQuery.mediaQuery.mediumAbove} {
|