revert ad iframe width we know doesn't work anyway. remove lefthook
This commit is contained in:
parent
6e2b8a741d
commit
094a546faa
4 changed files with 1 additions and 11 deletions
|
|
@ -13,7 +13,6 @@ const config: KnipConfig = {
|
||||||
/@storybook\/.*/,
|
/@storybook\/.*/,
|
||||||
/@fortawesome\/.*/,
|
/@fortawesome\/.*/,
|
||||||
'normalize.css',
|
'normalize.css',
|
||||||
'@evilmartians/lefthook',
|
|
||||||
'@mdx-js/mdx',
|
'@mdx-js/mdx',
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
pre-commit:
|
|
||||||
commands:
|
|
||||||
eslint:
|
|
||||||
glob: 'src/**/*.{js,svelte}'
|
|
||||||
run: npx eslint --cache --fix {staged_files} && git add .
|
|
||||||
prettier:
|
|
||||||
glob: 'src/**/*.{js,scss,md,svelte}'
|
|
||||||
run: npx prettier --write {staged_files} && git add .
|
|
||||||
|
|
@ -41,7 +41,6 @@
|
||||||
"@americanexpress/css-to-js": "^1.0.1",
|
"@americanexpress/css-to-js": "^1.0.1",
|
||||||
"@changesets/cli": "^2.27.7",
|
"@changesets/cli": "^2.27.7",
|
||||||
"@chromatic-com/storybook": "^1.7.0",
|
"@chromatic-com/storybook": "^1.7.0",
|
||||||
"@evilmartians/lefthook": "^1.7.14",
|
|
||||||
"@reuters-graphics/yaks-eslint": "^0.0.6",
|
"@reuters-graphics/yaks-eslint": "^0.0.6",
|
||||||
"@reuters-graphics/yaks-prettier": "^0.0.4",
|
"@reuters-graphics/yaks-prettier": "^0.0.4",
|
||||||
"@storybook/addon-actions": "^8.2.9",
|
"@storybook/addon-actions": "^8.2.9",
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
div {
|
div {
|
||||||
:global(iframe) {
|
:global(iframe) {
|
||||||
width: auto;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue