Skip to content

Commit 77b3b38

Browse files
committed
Upgrade stylelint@16.26.1 postcss-styled-syntax@0.7.1 and fix lint errors
1 parent 5aa6f9a commit 77b3b38

3 files changed

Lines changed: 217 additions & 81 deletions

File tree

dotcom-rendering/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"lz-string": "1.5.0",
128128
"mockdate": "3.0.5",
129129
"node-fetch": "3.3.2",
130-
"postcss-styled-syntax": "0.6.3",
130+
"postcss-styled-syntax": "0.7.1",
131131
"preact": "10.15.1",
132132
"preact-render-to-string": "6.0.2",
133133
"react": "18.3.1",
@@ -143,7 +143,7 @@
143143
"semver": "7.5.4",
144144
"source-map": "0.7.4",
145145
"storybook": "10.2.13",
146-
"stylelint": "16.5.0",
146+
"stylelint": "16.26.1",
147147
"stylelint-config-recommended": "14.0.0",
148148
"swc-loader": "0.2.6",
149149
"swr": "1.3.0",

dotcom-rendering/src/components/YoutubeAtom/YoutubeAtomPlayer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ const fullscreenStyles = (id: string) => css`
8585
iframe#${id} {
8686
position: fixed;
8787
top: 0;
88-
/* override vw and vh with vsw and vsh if supported */
88+
/* override vw and vh with svw and svh if supported */
89+
/* stylelint-disable declaration-block-no-duplicate-properties */
8990
width: 100vw;
9091
height: 100vh;
91-
/* stylelint-disable-next-line declaration-block-no-duplicate-properties */
9292
width: 100svw;
93-
/* stylelint-disable-next-line declaration-block-no-duplicate-properties */
9493
height: 100svh;
94+
/* stylelint-enable declaration-block-no-duplicate-properties */
9595
z-index: ${getZIndex('youTubeFullscreen')};
9696
}
9797
`;

0 commit comments

Comments
 (0)