njk-tool 0.0.16 → 0.0.18

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.
@@ -13481,7 +13481,7 @@ position: var(--njk-title-position);
13481
13481
  margin: var(--njk-title-margin);
13482
13482
  color: var(--njk-title-color);
13483
13483
  text-align: var(--njk-title-align);
13484
- font-size: 2.5rem
13484
+ font-size: 32px
13485
13485
  }
13486
13486
  .njk-title-h2 {
13487
13487
  padding: 0 0 4.8px;
@@ -13489,7 +13489,7 @@ position: var(--njk-title-position);
13489
13489
  margin: var(--njk-title-margin);
13490
13490
  color: var(--njk-title-color);
13491
13491
  text-align: var(--njk-title-align);
13492
- font-size: 2rem
13492
+ font-size: 26.4
13493
13493
  }
13494
13494
  .njk-title-h3 {
13495
13495
  padding: 0 0 4.8px;
@@ -13497,7 +13497,7 @@ margin: var(--njk-title-margin);
13497
13497
  position: var(--njk-title-position);
13498
13498
  color: var(--text-color);
13499
13499
  text-align: var(--njk-title-align);
13500
- font-size: 1rem
13500
+ font-size: 20px
13501
13501
  }
13502
13502
  .njk-title-h2::before,
13503
13503
  .njk-title-h1::before {
@@ -13603,7 +13603,7 @@ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
13603
13603
  .code-block pre {
13604
13604
  margin: 0;
13605
13605
  padding: 1rem;
13606
- background-color: silver;
13606
+ background-color: #f5f5f5;
13607
13607
  font-family: 'Courier New', monospace;
13608
13608
  font-size: 14px;
13609
13609
  line-height: 1.5;
@@ -13663,18 +13663,6 @@ padding: 0;
13663
13663
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
13664
13664
  }
13665
13665
  /* PC端样式 */
13666
- @media (min-width: 900px) {
13667
- .email-main-container {
13668
- width: 40rem;
13669
- border: solid 1px silver
13670
- }
13671
- }
13672
- /* 移动端样式 */
13673
- @media (min-width: 1304px) {
13674
- .email-main-container {
13675
- width: 80rem;
13676
- }
13677
- }
13678
13666
  a {
13679
13667
  text-decoration: none;
13680
13668
  }
@@ -13683,7 +13671,7 @@ color: #409EFF;
13683
13671
  }
13684
13672
  .email-main-container {
13685
13673
  margin: 0;
13686
- /* min-width: 1000px; */
13674
+ min-width: 1000px;
13687
13675
  padding: 0 5rem;
13688
13676
  }
13689
13677
  :root {
@@ -13866,7 +13854,7 @@ padding: 6px 16px;
13866
13854
  {% else %}
13867
13855
  {% set text = ctx %}
13868
13856
  {% endif %}
13869
- <td class="default-cell">{{ text | replace("false", "❌") | replace("true", "✔️") }}</td>
13857
+ <td class="default-cell">{{ text | replace("false", "❌")| replace("False", "❌")| replace("True", "✔️") | replace("true", "✔️") }}</td>
13870
13858
  {% endmacro %}
13871
13859
  {% macro table_default(ctx) %}
13872
13860
  {% if ctx.columns %}
@@ -14051,8 +14039,8 @@ display: block;
14051
14039
  {% endfor %}
14052
14040
  {% endif %}
14053
14041
  {% endmacro %}
14054
- <body style="margin: 0; padding: 0;">
14055
- <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem;box-sizing: border-box">
14042
+ <body style="margin: 0; padding: 0;overflow: auto;">
14043
+ <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem;box-sizing: border-box;width:1500px;">
14056
14044
  {{ use_component(ctx) }}
14057
14045
  </div>
14058
14046
  </body>