Skip to content

Commit be7799a

Browse files
committed
refactor: adjust component margins
Signed-off-by: Adam Setch <[email protected]>
1 parent fe43e3b commit be7799a

File tree

9 files changed

+24
-23
lines changed

9 files changed

+24
-23
lines changed

jest.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ const config: Config = {
1111
// via https://github.com/axios/axios/issues/5101#issuecomment-1276572468
1212
'^axios$': require.resolve('axios'),
1313

14-
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
14+
// GitHub Primer Design System - CSS in JS
15+
'\\.css$': 'identity-obj-proxy',
1516
},
1617
modulePathIgnorePatterns: ['<rootDir>/build', '<rootDir>/node_modules'],
1718
};

src/renderer/components/primitives/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const Header: FC<IHeader> = (props: IHeader) => {
1919
const { fetchNotifications } = useContext(AppContext);
2020

2121
return (
22-
<div className="pl-4 pr-6 pt-3 pb-1">
22+
<div className="pl-4 pr-5 pt-3 pb-1">
2323
<Stack direction="horizontal" justify="space-between">
2424
<IconButton
2525
aria-labelledby="Go Back"

src/renderer/components/primitives/__snapshots__/Header.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/routes/Accounts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const AccountsRoute: FC = () => {
144144
direction="horizontal"
145145
justify="space-between"
146146
>
147-
<div className="pl-4 pb-2 text-xs">
147+
<div className="pl-2 pb-2 text-xs">
148148
<Stack direction="vertical" gap="condensed">
149149
<Stack
150150
align="center"

src/renderer/routes/__snapshots__/Accounts.test.tsx.snap

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/routes/__snapshots__/Filters.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/routes/__snapshots__/LoginWithOAuthApp.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/routes/__snapshots__/LoginWithPersonalAccessToken.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/routes/__snapshots__/Settings.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)