revert ad iframe width we know doesn't work anyway. remove lefthook

This commit is contained in:
hobbes7878 2024-08-22 11:20:26 +01:00
parent 6e2b8a741d
commit 094a546faa
4 changed files with 1 additions and 11 deletions

View file

@ -13,7 +13,6 @@ const config: KnipConfig = {
/@storybook\/.*/,
/@fortawesome\/.*/,
'normalize.css',
'@evilmartians/lefthook',
'@mdx-js/mdx',
],
};

View file

@ -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 .

View file

@ -41,7 +41,6 @@
"@americanexpress/css-to-js": "^1.0.1",
"@changesets/cli": "^2.27.7",
"@chromatic-com/storybook": "^1.7.0",
"@evilmartians/lefthook": "^1.7.14",
"@reuters-graphics/yaks-eslint": "^0.0.6",
"@reuters-graphics/yaks-prettier": "^0.0.4",
"@storybook/addon-actions": "^8.2.9",

View file

@ -57,7 +57,7 @@
<style lang="scss">
div {
:global(iframe) {
width: auto;
width: 100%;
}
}
</style>