Skip to content

Commit 597882d

Browse files
committed
Merge pull request #123 from evoyy/pr/fix_example_css_for_firefox
Improve example CSS for non-Webkit browsers
2 parents 980ad5d + aac1841 commit 597882d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: examples/basic/app.css

+3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111

1212
.ReactModal__Content {
1313
-webkit-transform: scale(0.5) rotateX(-30deg);
14+
transform: scale(0.5) rotateX(-30deg);
1415
}
1516

1617
.ReactModal__Content--after-open {
1718
-webkit-transform: scale(1) rotateX(0deg);
19+
transform: scale(1) rotateX(0deg);
1820
transition: all 150ms ease-in;
1921
}
2022

@@ -24,5 +26,6 @@
2426

2527
.ReactModal__Content--before-close {
2628
-webkit-transform: scale(0.5) rotateX(30deg);
29+
transform: scale(0.5) rotateX(30deg);
2730
transition: all 150ms ease-in;
2831
}

Diff for: examples/bootstrap/app.css

+3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414

1515
.ReactModal__Content {
1616
-webkit-transform: scale(0.5) rotateX(-30deg);
17+
transform: scale(0.5) rotateX(-30deg);
1718
}
1819

1920
.ReactModal__Content--after-open {
2021
-webkit-transform: scale(1) rotateX(0deg);
22+
transform: scale(1) rotateX(0deg);
2123
transition: all 150ms ease-in;
2224
}
2325

@@ -27,6 +29,7 @@
2729

2830
.ReactModal__Content--before-close {
2931
-webkit-transform: scale(0.5) rotateX(30deg);
32+
transform: scale(0.5) rotateX(30deg);
3033
transition: all 150ms ease-in;
3134
}
3235

0 commit comments

Comments
 (0)