Skip to content

Commit 938bdeb

Browse files
authored
Fix visual tests (#3440)
1 parent d216eaa commit 938bdeb

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

packages/gitbook/e2e/util.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,6 @@ export function runTestCases(testCases: TestsCase[]) {
229229
}
230230
await waitForIcons(page);
231231
},
232-
stabilize: {
233-
roundImageSize: false,
234-
},
235232
});
236233
}
237234
}

packages/gitbook/src/components/PageAside/PageAside.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export function PageAside(props: {
5555
'chat-open:xl:max-3xl:max-w-0',
5656
'chat-open:xl:max-3xl:ml-0',
5757

58-
'transition-all duration-300',
59-
'[transition-behavior:allow-discrete]',
58+
'motion-safe:transition-all motion-safe:duration-300',
59+
'motion-safe:[transition-behavior:allow-discrete]',
6060

6161
'flex-col',
6262
'basis-56',

packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function SpaceLayout(props: {
8181
/>
8282
{withAIChat ? <AIChat /> : null}
8383
<div className="scroll-nojump">
84-
<div className="transition-all duration-300 lg:chat-open:mr-80 xl:chat-open:mr-96">
84+
<div className="motion-safe:transition-all motion-safe:duration-300 lg:chat-open:mr-80 xl:chat-open:mr-96">
8585
<div
8686
className={tcls(
8787
'flex',

0 commit comments

Comments
 (0)