Skip to content

Commit a5fe7bc

Browse files
authored
Update SplashViz.scss (#3904)
1 parent 6e61f71 commit a5fe7bc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/components/SplashViz/SplashViz.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,13 @@
2727

2828
&__modules {
2929
position: absolute;
30-
left: 0;
31-
right: 0;
32-
top: 50%; // vertical center
33-
bottom: 0;
30+
top: 50%;
31+
left: 50%;
3432
width: 75vw;
3533
min-width: 550px;
3634
max-width: map-get($screens, large);
3735
margin: 0 auto;
38-
transform: translateY(-50%); // vertical center
36+
transform: translate(-50%, -50%);
3937
display: none;
4038

4139
@include break {

0 commit comments

Comments
 (0)