Skip to content

Commit a2461c4

Browse files
remove scoped css in kanvas
Signed-off-by: Rajesh-Nagarajan-11 <rajeshnagarajan36@gmail.com>
1 parent 8148141 commit a2461c4

2 files changed

Lines changed: 2 additions & 16 deletions

File tree

src/sections/thank-you/thank-you.style.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const SubscribeWrapper = styled.div`
1111
width: 100%;
1212
text-align: center;
1313
}
14-
h2 span{
14+
.parentcard h2 span{
1515
color:${props => props.theme.secondaryColor};
1616
}
1717
@@ -108,13 +108,6 @@ const SubscribeWrapper = styled.div`
108108
width:100%;
109109
}
110110
}
111-
112-
/* Override Kanvas text styling to make only "Kanvas" white */
113-
.CTAbody {
114-
h2 span {
115-
color: ${props => props.theme.white};
116-
}
117-
}
118111
`;
119112

120113
export default SubscribeWrapper;

src/sections/unsubscribed/unsubscribed.style.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const UnsubscribedWrapper = styled.div`
1111
width: 100%;
1212
text-align: center;
1313
}
14-
h2,h3,h4,h5{
14+
.parentcard h2,h3,h4,h5{
1515
text-align: center;
1616
font-weight: normal;
1717
margin-top: 1.5rem;
@@ -119,13 +119,6 @@ const UnsubscribedWrapper = styled.div`
119119
width:100%;
120120
}
121121
}
122-
123-
/* Override Kanvas text styling to make only "Kanvas" bold */
124-
.CTAbody {
125-
h2 span {
126-
font-weight: bold;
127-
}
128-
}
129122
`;
130123

131124
export default UnsubscribedWrapper;

0 commit comments

Comments
 (0)