@happeouikit/content-renderer 3.2.28 → 3.3.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/dist/index.cjs.js CHANGED
@@ -358,7 +358,27 @@
358
358
  }
359
359
  }
360
360
  }
361
+
362
+ blockquote {
363
+ border-left: solid 4px var(--color-active-primary);
364
+ margin-left: 0;
365
+ padding-left: var(--space-md-minus);
366
+
367
+ blockquote {
368
+ border-color: var(--color-active-darken10);
369
+
370
+ blockquote {
371
+ border-color: var(--color-active-darken20);
372
+ }
373
+ }
374
+
375
+ p {
376
+ text-align: unset !important; // override some old code that makes it centered
377
+ margin: 0 auto;
378
+ }
379
+ }
361
380
 
381
+ // everything-except-pages CSS
362
382
  ${({widgetType:e,inheritBrandingStyles:i})=>e==="page"?"":ye.css`
363
383
  * {
364
384
  font-family: ${ut.sansFamily};
@@ -525,18 +545,9 @@
525
545
  font-size: 40px;
526
546
  line-height: 1.2;
527
547
  }
528
-
529
- blockquote {
530
- border-top: 2px solid var(--color-divider);
531
- border-bottom: 2px solid var(--color-divider);
532
- font-size: 18px;
533
- padding: var(--space-lg) var(--space-xxxl);
534
- position: relative;
535
- text-align: center;
536
- margin: var(--space-xxxl) 0;
537
- }
538
548
  `}
539
549
 
550
+ // article-only CSS
540
551
  ${({widgetType:e,inheritBrandingStyles:i})=>e==="article"&&ye.css`
541
552
  h1 {
542
553
  font-family: ${i?"var(--channels-h1-font-family, revert)":"revert"};
@@ -727,20 +738,6 @@
727
738
  }
728
739
  }
729
740
 
730
- blockquote {
731
- border-left: 0 !important;
732
- padding-left: 0 !important;
733
- margin: 0 !important;
734
- color: inherit !important;
735
-
736
- p {
737
- line-height: 30px;
738
- font-size: 26px;
739
- text-align: center;
740
- margin: 0 auto;
741
- }
742
- }
743
-
744
741
  .content-attachments {
745
742
  width: 100%;
746
743
  }