Skip to content

Commit fcdbe34

Browse files
committed
change padding for table view
1 parent d477554 commit fcdbe34

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/cloud/components/Views/Table/TableView.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,12 @@ const Container = styled.div`
411411
}
412412
413413
.table:not(.table--with-checkbox) {
414-
.table__header:first-child > div:first-child,
414+
.table__header:first-child > div:first-child {
415+
padding-left: 54px !important;
416+
}
417+
415418
.table-row > div:first-child .navigation__item {
416-
padding-left: ${({ theme }) => theme.sizes.spaces.md}px !important;
419+
padding-left: 50px !important;
417420
}
418421
}
419422

src/design/lib/stores/toast/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { useState, useCallback } from 'react'
2+
import { nodeEnv } from '../../../../cloud/lib/consts'
23
import { generateSecret } from '../../../../cloud/lib/utils/secret'
34
import { createStoreContext } from '../../utils/context'
45

@@ -57,7 +58,7 @@ const useToastStore = (): ToastStore => {
5758
{
5859
id: generateSecret(),
5960
createdAt: new Date(),
60-
title: process.env.NODE_ENV === 'development' ? title : undefined,
61+
title: nodeEnv === 'development' ? title : undefined,
6162
type: 'error',
6263
description,
6364
},

0 commit comments

Comments
 (0)