@@ -28,6 +28,16 @@ it('renders default padding version correctly', () => {
2828 box-shadow: rgba(0,0,0,0.15) 0px 0px 1rem;
2929 }
3030
31+ .c1 > div:first-child * {
32+ margin-top: 0;
33+ }
34+
35+ .c1 > div:first-child h1,
36+ .c1 > div:first-child h2,
37+ .c1 > div:first-child h3 {
38+ margin-bottom: 1.5rem;
39+ }
40+
3141 .c1 .carousel {
3242 position: relative;
3343 margin: 0 auto;
@@ -122,6 +132,16 @@ it('renders default padding version correctly', () => {
122132 flex-direction: column;
123133 }
124134
135+ .c1 .carousel .richtext-carousel .carousel__slide .carousel__inner-slide .slide-copy-wrapper {
136+ font-size: 0.9rem;
137+ line-height: 0.9rem;
138+ }
139+
140+ .c1 .carousel .richtext-carousel .carousel__slide .carousel__inner-slide .slide-copy-wrapper * {
141+ font-size: inherit;
142+ line-height: inherit;
143+ }
144+
125145 .c0 {
126146 background-color: #F4F3F5;
127147 padding: 2rem 0 2rem;
@@ -285,6 +305,16 @@ it('renders custom padding + background colour version correctly', () => {
285305 box-shadow: rgba(0,0,0,0.15) 0px 0px 1rem;
286306 }
287307
308+ .c1 > div:first-child * {
309+ margin-top: 0;
310+ }
311+
312+ .c1 > div:first-child h1,
313+ .c1 > div:first-child h2,
314+ .c1 > div:first-child h3 {
315+ margin-bottom: 1.5rem;
316+ }
317+
288318 .c1 .carousel {
289319 position: relative;
290320 margin: 0 auto;
@@ -379,6 +409,16 @@ it('renders custom padding + background colour version correctly', () => {
379409 flex-direction: column;
380410 }
381411
412+ .c1 .carousel .richtext-carousel .carousel__slide .carousel__inner-slide .slide-copy-wrapper {
413+ font-size: 0.9rem;
414+ line-height: 0.9rem;
415+ }
416+
417+ .c1 .carousel .richtext-carousel .carousel__slide .carousel__inner-slide .slide-copy-wrapper * {
418+ font-size: inherit;
419+ line-height: inherit;
420+ }
421+
382422 .c0 {
383423 background-color: #86E4E9;
384424 padding: 4rem 0 4rem;
0 commit comments