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.
@@ -13478,7 +13478,7 @@ position: var(--njk-title-position);
13478
13478
  margin: var(--njk-title-margin);
13479
13479
  color: var(--njk-title-color);
13480
13480
  text-align: var(--njk-title-align);
13481
- font-size: 2.5rem
13481
+ font-size: 32px
13482
13482
  }
13483
13483
  .njk-title-h2 {
13484
13484
  padding: 0 0 4.8px;
@@ -13486,7 +13486,7 @@ position: var(--njk-title-position);
13486
13486
  margin: var(--njk-title-margin);
13487
13487
  color: var(--njk-title-color);
13488
13488
  text-align: var(--njk-title-align);
13489
- font-size: 2rem
13489
+ font-size: 26.4
13490
13490
  }
13491
13491
  .njk-title-h3 {
13492
13492
  padding: 0 0 4.8px;
@@ -13494,7 +13494,7 @@ margin: var(--njk-title-margin);
13494
13494
  position: var(--njk-title-position);
13495
13495
  color: var(--text-color);
13496
13496
  text-align: var(--njk-title-align);
13497
- font-size: 1rem
13497
+ font-size: 20px
13498
13498
  }
13499
13499
  .njk-title-h2::before,
13500
13500
  .njk-title-h1::before {
@@ -13600,7 +13600,7 @@ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
13600
13600
  .code-block pre {
13601
13601
  margin: 0;
13602
13602
  padding: 1rem;
13603
- background-color: silver;
13603
+ background-color: #f5f5f5;
13604
13604
  font-family: 'Courier New', monospace;
13605
13605
  font-size: 14px;
13606
13606
  line-height: 1.5;
@@ -13660,18 +13660,6 @@ padding: 0;
13660
13660
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
13661
13661
  }
13662
13662
  /* PC端样式 */
13663
- @media (min-width: 900px) {
13664
- .email-main-container {
13665
- width: 40rem;
13666
- border: solid 1px silver
13667
- }
13668
- }
13669
- /* 移动端样式 */
13670
- @media (min-width: 1304px) {
13671
- .email-main-container {
13672
- width: 80rem;
13673
- }
13674
- }
13675
13663
  a {
13676
13664
  text-decoration: none;
13677
13665
  }
@@ -13680,7 +13668,7 @@ color: #409EFF;
13680
13668
  }
13681
13669
  .email-main-container {
13682
13670
  margin: 0;
13683
- /* min-width: 1000px; */
13671
+ min-width: 1000px;
13684
13672
  padding: 0 5rem;
13685
13673
  }
13686
13674
  :root {
@@ -13863,7 +13851,7 @@ padding: 6px 16px;
13863
13851
  {% else %}
13864
13852
  {% set text = ctx %}
13865
13853
  {% endif %}
13866
- <td class="default-cell">{{ text | replace("false", "❌") | replace("true", "✔️") }}</td>
13854
+ <td class="default-cell">{{ text | replace("false", "❌")| replace("False", "❌")| replace("True", "✔️") | replace("true", "✔️") }}</td>
13867
13855
  {% endmacro %}
13868
13856
  {% macro table_default(ctx) %}
13869
13857
  {% if ctx.columns %}
@@ -14048,8 +14036,8 @@ display: block;
14048
14036
  {% endfor %}
14049
14037
  {% endif %}
14050
14038
  {% endmacro %}
14051
- <body style="margin: 0; padding: 0;">
14052
- <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem;box-sizing: border-box">
14039
+ <body style="margin: 0; padding: 0;overflow: auto;">
14040
+ <div class="email-main-container" style="margin: 0 auto; padding: 0 3rem;box-sizing: border-box;width:1500px;">
14053
14041
  {{ use_component(ctx) }}
14054
14042
  </div>
14055
14043
  </body>