Skip to content

Commit 6325984

Browse files
committed
Move some styles around
1 parent 7b3b18e commit 6325984

File tree

43 files changed

+22
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+22
-1
lines changed

.ladle/components.tsx

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
import type { GlobalProvider } from "@ladle/react";
2+
import * as React from "react";
3+
4+
export const Provider: GlobalProvider = ({ children, globalState }) => {
5+
if (globalState.mode === "preview") {
6+
return (
7+
<div
8+
style={{
9+
margin: "8px",
10+
marginTop: "60px",
11+
marginLeft: "30px",
12+
marginRight: "30px",
13+
}}
14+
>
15+
{children}
16+
</div>
17+
);
18+
}
19+
return children;
20+
};
21+
122
export const args = {
223
rtl: false,
324
};

e2e/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const untrackMouse = async (page: Page) => {
6666
};
6767

6868
export const addFontStyles = async (page: Page) => {
69-
await page.evaluate(fontStyles);
69+
//await page.evaluate(fontStyles);
7070
};
7171

7272
// This injects a box into the page that moves with the mouse;

0 commit comments

Comments
 (0)