File tree Expand file tree Collapse file tree 3 files changed +29
-12
lines changed Expand file tree Collapse file tree 3 files changed +29
-12
lines changed Original file line number Diff line number Diff line change 1
- <div class =" cta-note" ...attributes>
2
- <div class =" cta-note-content" >
3
- <div class =" cta-note-body p-2" >
4
- <div class =" text-lg mb-1 hide-in-percy" data-test-es-note-heading>{{ this.mascot.name }} says...</div >
5
- <div class =" cta-note-message" >
6
- {{ yield }}
7
- </div >
1
+ <div class =" cta" ...attributes>
2
+ <div class =" cta-note" >
3
+ <div class =" cta-note-body" >
4
+ <div class =" cta-note-heading" data-test-es-note-heading>{{ this.mascot.name }} says...</div >
5
+ <div class =" cta-note-message" >{{ yield }} </div >
8
6
</div >
9
- <img src ={{ this.mascot.image }} role =" presentation" alt =" " class = " hide-in-percy cta-mascot m-2 " >
7
+ <img src ={{ this.mascot.image }} role =" presentation" alt =" " >
10
8
</div >
11
9
</div >
Original file line number Diff line number Diff line change 1
- .cta-note {
1
+ .cta {
2
2
background-color : var (--color-gray-200 );
3
3
border : 2px solid var (--color-gray-600 );
4
4
border-radius : var (--radius-lg );
5
5
margin : auto;
6
6
max-width : 90% ;
7
7
}
8
8
9
- .cta-note .cta-note-content {
9
+ .cta .cta-note {
10
10
display : flex;
11
11
justify-content : space-between;
12
12
}
13
13
14
- .cta-note .cta-mascot {
14
+ .cta-note .cta-note-body {
15
+ padding : var (--spacing-2 );
16
+ }
17
+
18
+ .cta-note .cta-note-heading {
19
+ font-size : var (--font-size-lg );
20
+ font-weight : var (--font-weight-3 );
21
+ line-height : var (--line-height-lg );
22
+ margin-bottom : var (--spacing-1 );
23
+ }
24
+
25
+ .cta-note img {
26
+ margin : var (--spacing-2 );
15
27
transform : rotate (15deg );
16
28
}
29
+
30
+ @media only percy {
31
+ .cta-note .cta-note-heading ,
32
+ .cta-note img {
33
+ visibility : hidden;
34
+ }
35
+ }
36
+
You can’t perform that action at this time.
0 commit comments