Skip to content

Commit

Permalink
fix(fuselage): IE11 compatibility #512
Browse files Browse the repository at this point in the history
fix(fuselage): IE11 compatibility
  • Loading branch information
dougfabris authored Aug 9, 2021
2 parents afd88bf + bb25509 commit 2e9e497
Show file tree
Hide file tree
Showing 4 changed files with 386 additions and 17 deletions.
9 changes: 7 additions & 2 deletions packages/fuselage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@
"storybook": "start-storybook -p 6006",
"build": "run-s .:build:clean .:build:dev .:build:prod",
".:build:clean": "rimraf dist",
".:build:prod": "webpack --mode production",
".:build:dev": "webpack --mode development",
".:build:prod": "run-s .:build:prod:bundle .:build:prod:check",
".:build:dev": "run-s .:build:dev:bundle .:build:dev:check",
".:build:prod:bundle": "webpack --mode production",
".:build:prod:check": "es-check es5 dist/*.production.js",
".:build:dev:bundle": "webpack --mode development",
".:build:dev:check": "es-check es5 dist/*.development.js",
"lint": "run-s .:lint:eslint .:lint:tsc .:lint:stylelint",
".:lint:eslint": "eslint src",
".:lint:tsc": "tsc --noEmit",
Expand Down Expand Up @@ -97,6 +101,7 @@
"cross-env": "^7.0.3",
"css-loader": "^5.2.6",
"cssnano": "^5.0.6",
"es-check": "^6.0.0",
"eslint": "^7.29.0",
"eslint-plugin-mdx": "^1.13.0",
"identity-obj-proxy": "^3.0.0",
Expand Down
7 changes: 6 additions & 1 deletion packages/fuselage/src/components/Modal/Modal.styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

width: 100%;
max-height: 100%;
margin: auto;
margin: 0 auto;

background: none;

Expand All @@ -18,6 +18,8 @@
flex-direction: column;
flex-grow: 1;

width: 100%;

min-width: 0;
padding: 0;

Expand Down Expand Up @@ -56,6 +58,9 @@
z-index: 100;
inset: 0;

display: flex;
flex-direction: column;

background-color: colors.neutral(800, $alpha: 0.5);
}

Expand Down
1 change: 1 addition & 0 deletions packages/fuselage/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module.exports = (env, { mode = 'production' }) => ({
{
test: /\.scss$/,
use: [
'babel-loader',
{
loader: 'style-loader',
options: {
Expand Down
Loading

0 comments on commit 2e9e497

Please sign in to comment.