Skip to content

Commit e9c1bb7

Browse files
committed
feat: toggle hero banner with ab class
1 parent e24a946 commit e9c1bb7

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

blocks/main/hero/hero.module.css

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@
110110
}
111111

112112
.banner {
113+
display: none;
113114
position: relative;
114-
display: flex;
115115
justify-content: space-between;
116116
margin-top: 40px;
117117
width: 545px;
@@ -121,10 +121,6 @@
121121
background-color: rgba(126, 66, 255, 0.40);
122122
overflow: hidden;
123123

124-
@media (--ktl-ds) {
125-
display: none;
126-
}
127-
128124
.bannerContent {
129125
text-align: left;
130126
}
@@ -156,6 +152,16 @@
156152
}
157153
}
158154

155+
:global(.ab-hero-ktor) {
156+
.banner {
157+
display: flex;
158+
159+
@media (--ktl-ds) {
160+
display: none;
161+
}
162+
}
163+
}
164+
159165
.heroText {
160166
margin: 0;
161167
font-size: 72px;

0 commit comments

Comments
 (0)