jeawin-astro 4.0.26 → 4.0.28

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jeawin-astro",
3
- "version": "4.0.26",
3
+ "version": "4.0.28",
4
4
  "author": "chaegumi <chaegumi@qq.com>",
5
5
  "description": "Astro components for Jeawin CMS",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@ const {
36
36
  </slot>
37
37
 
38
38
  <div class="flex flex-col md:flex-row gap-4">
39
- <div class="md:w-1/2 break-words prose !max-w-none overflow-hidden">
39
+ <div class="md:w-1/2 break-words prose !max-w-none clear-both">
40
40
  <Fragment set:html={block_content} />
41
41
  </div>
42
42
  <div class="md:w-1/2">
@@ -39,7 +39,7 @@ const {
39
39
  <div class="md:w-1/2">
40
40
  <Fragment set:html={block_picurl_html} />
41
41
  </div>
42
- <div class="md:2-1/2 break-words prose !max-w-none overflow-hidden">
42
+ <div class="md:2-1/2 break-words prose !max-w-none clear-both">
43
43
  <Fragment set:html={block_content} />
44
44
  </div>
45
45
  </div>
@@ -67,7 +67,7 @@ switch (node_item_component) {
67
67
  </h2>
68
68
 
69
69
  {category.category_content ? (
70
- <div class="mx-auto text-center break-words mb-12 prose !max-w-none overflow-hidden">
70
+ <div class="mx-auto text-center break-words mb-12 prose !max-w-none clear-both">
71
71
  <Fragment set:html={category.category_content} />
72
72
  </div>
73
73
  ) : null}
@@ -28,7 +28,7 @@ const { categoryuriarr, nodeuriarr, menuuriarr, all_langs,base, url_suffix } = A
28
28
  (block: any) => (
29
29
  <Fragment>
30
30
  <div class="mb-5 text-lg">{block.title}</div>
31
- <div class="pr-10 text-sm break-words prose !max-w-none text-white overflow-hidden">
31
+ <div class="pr-10 text-sm break-words prose !max-w-none text-white clear-both">
32
32
  <Fragment set:html={block.content_html} />
33
33
  </div>
34
34
  </Fragment>
@@ -53,7 +53,7 @@ const submitbuttontext = render_lang(all_langs, "send message");
53
53
  />
54
54
  <div class:list={["max-w-md mx-auto", max_width]}>
55
55
  {forminfo.form_before_content ? (
56
- <div class="prose max-w-none break-words overflow-hidden"><Fragment set:html={forminfo.form_before_content} /></div>
56
+ <div class="prose max-w-none break-words clear-both"><Fragment set:html={forminfo.form_before_content} /></div>
57
57
  ) : null}
58
58
  <div class:list={[
59
59
  "mt-4 grid grid-cols-1 gap-4",
@@ -101,7 +101,7 @@ const submitbuttontext = render_lang(all_langs, "send message");
101
101
  </button>
102
102
  </div>
103
103
  {forminfo.form_after_content ? (
104
- <div class="mt-4 prose max-w-none break-words overflow-hidden"><Fragment set:html={forminfo.form_after_content} /></div>
104
+ <div class="mt-4 prose max-w-none break-words clear-both"><Fragment set:html={forminfo.form_after_content} /></div>
105
105
  ) : null}
106
106
  </div>
107
107
  </form>
@@ -30,7 +30,7 @@ const HTagName = h_tag_name;
30
30
  </div>
31
31
 
32
32
  <div
33
- class="mx-auto font-light text-gray-500 sm:text-xl text-center mb-12 break-words prose !max-w-none overflow-hidden"
33
+ class="mx-auto font-light text-gray-500 sm:text-xl text-center mb-12 break-words prose !max-w-none clear-both"
34
34
  >
35
35
  <Fragment set:html={block_subtitle} />
36
36
  </div>
@@ -90,7 +90,7 @@ switch (node_item_component) {
90
90
  <h2 class="text-2xl text-center mb-7 font-bold text-neutral-800 flex flex-col gap-5 after:mx-auto after:w-1/12 after:border after:border-[var(--themeColor)] md:text-4xl md:leading-tight">
91
91
  {category.category_name}
92
92
  </h2>
93
- <div class="mx-auto text-center break-words mb-12 prose !max-w-none overflow-hidden">
93
+ <div class="mx-auto text-center break-words mb-12 prose !max-w-none clear-both">
94
94
  <Fragment set:html={category.category_content} />
95
95
  </div>
96
96
 
@@ -93,7 +93,7 @@ switch (node_item_component) {
93
93
  <h2 class="text-2xl text-center mb-7 font-bold text-neutral-800 flex flex-col gap-5 after:mx-auto after:w-1/12 after:border after:border-[var(--themeColor)] md:text-4xl">
94
94
  {category.category_name}
95
95
  </h2>
96
- <div class="mx-auto break-words mb-12 prose !max-w-none overflow-hidden">
96
+ <div class="mx-auto break-words mb-12 prose !max-w-none clear-both">
97
97
  <Fragment set:html={category.category_content} />
98
98
  </div>
99
99
 
@@ -86,7 +86,7 @@ switch (node_item_component) {
86
86
  >
87
87
 
88
88
  <div
89
- class="break-words mb-12 prose !max-w-none overflow-hidden"
89
+ class="break-words mb-12 prose !max-w-none clear-both"
90
90
  >
91
91
  <Fragment set:html={category.category_content} />
92
92
  </div>
@@ -55,7 +55,7 @@ const categories: any[] = _.filter(all_categories, (o: any) => {
55
55
  <h2 class="text-2xl mb-7 text-center font-bold text-neutral-800 md:text-4xl md:leading-tight">
56
56
  {category.category_name}
57
57
  </h2>
58
- <div class="break-words text-center mb-12 prose !max-w-none overflow-hidden">
58
+ <div class="break-words text-center mb-12 prose !max-w-none clear-both">
59
59
  <Fragment set:html={category.category_content} />
60
60
  </div>
61
61
 
@@ -251,8 +251,10 @@ if (page_type == "category") {
251
251
  </slot>
252
252
 
253
253
  <slot name="inner-header" />
254
-
255
- <slot />
254
+
255
+ <main>
256
+ <slot />
257
+ </main>
256
258
 
257
259
  <slot name="page-footer">
258
260
  <Footer
@@ -158,7 +158,7 @@ if(Astro.slots.has('page-footer')){
158
158
  <div class:list={[max_width_screen, "mx-auto"]}>
159
159
  <div class="px-4">
160
160
  {categoryinfo.extra ? (
161
- <div class="my-5 break-words prose !max-w-none overflow-hidden">
161
+ <div class="my-5 break-words prose !max-w-none clear-both">
162
162
  <Fragment set:html={render_value(categoryinfo, 'extra_html')} />
163
163
  </div>
164
164
  ) : null}
@@ -166,7 +166,7 @@ if(Astro.slots.has('page-footer')){
166
166
  {[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map((i0) => (
167
167
  <Fragment>
168
168
  {render_value(categoryinfo, `extra-${i0}`) ? (
169
- <div class="my-5 break-words prose !max-w-none overflow-hidden">
169
+ <div class="my-5 break-words prose !max-w-none clear-both">
170
170
  <Fragment set:html={render_value(categoryinfo, `extra-${i0}_html`)} />
171
171
  </div>
172
172
  ) : null}
@@ -153,7 +153,7 @@ if(Astro.slots.has('page-footer')){
153
153
  <div class:list={[max_width_screen, "mx-auto"]}>
154
154
  <div class="px-4">
155
155
  {channelinfo.extra ? (
156
- <div class="my-5 break-words prose !max-w-none overflow-hidden">
156
+ <div class="my-5 break-words prose !max-w-none clear-both">
157
157
  <Fragment set:html={render_value(channelinfo, 'extra_html')} />
158
158
  </div>
159
159
  ) : null}
@@ -161,7 +161,7 @@ if(Astro.slots.has('page-footer')){
161
161
  {[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map((i0) => (
162
162
  <Fragment>
163
163
  {render_value(channelinfo, `extra-${i0}`) ? (
164
- <div class="my-5 break-words prose !max-w-none overflow-hidden">
164
+ <div class="my-5 break-words prose !max-w-none clear-both">
165
165
  <Fragment set:html={render_value(channelinfo, `extra-${i0}_html`)} />
166
166
  </div>
167
167
  ) : null}