Skip to content

Commit 3b548ce

Browse files
committed
fix(with-without): increase animation speed
1 parent 0df25a0 commit 3b548ce

File tree

2 files changed

+52
-39
lines changed

2 files changed

+52
-39
lines changed

packages/components/bolt-with-without/with-without.scss

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,14 @@ $pega-wwo--sm-circle-top-margin--mobile: $bolt-medium-icon-half-size - ($pega-ww
153153
max-width: unset;
154154
height: 100%;
155155
}
156+
157+
//@include bolt-mq(xxlarge) {
158+
// max-width: bolt-breakpoint(xxlarge);
159+
// max-height: calc(#{bolt-breakpoint(xxlarge)} * #{$pega-wwo--desktop-ratio-decimal});
160+
// top: 35%;
161+
// left: 50%;
162+
// transform: translate(-50%, -50%);
163+
//}
156164
}
157165

158166
&__content-w {
@@ -256,8 +264,6 @@ $pega-wwo--sm-circle-top-margin--mobile: $bolt-medium-icon-half-size - ($pega-ww
256264
position: relative;
257265
width: 100%;
258266
height: 100%;
259-
max-width: 502px;
260-
max-height: 502px;
261267

262268
@include bolt-mq($from: xlarge) {
263269
display: block;
@@ -400,7 +406,7 @@ $pega-wwo--sm-circle-top-margin--mobile: $bolt-medium-icon-half-size - ($pega-ww
400406
}
401407

402408
&-w-2 {
403-
top: 45%;
409+
top: 44.5%;
404410
left: -.55%;
405411
}
406412

@@ -650,6 +656,14 @@ $pega-wwo--sm-circle-top-margin--mobile: $bolt-medium-icon-half-size - ($pega-ww
650656
}
651657
}
652658

659+
.c-pega-wwo__block-body {
660+
margin-top: bolt-spacing(xsmall);
661+
662+
@include bolt-mq($from: xlarge) {
663+
margin-top: 0;
664+
}
665+
}
666+
653667
.c-pega-wwo__icon {
654668
display: inline-block;
655669
margin-right: bolt-spacing(xsmall);

0 commit comments

Comments
 (0)