Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit ea2807e

Browse files
scroll Fix users Page
1 parent 7cf9542 commit ea2807e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/pages/AccessManagement/styles.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { createStyles } from '@mantine/core';
22
export const useUsersStyles = createStyles((theme) => {
3-
const { spacing,radius, colors } = theme;
3+
const { spacing, radius, colors } = theme;
44
const sColor = colors.brandSecondary[0];
55
const defaultRadius = radius[theme.defaultRadius as string];
66

77
return {
88
container: {
99
flex: 1,
10-
width:"100%",
10+
width: '100%',
1111
position: 'relative',
1212
margin: '10px',
1313
borderRadius: defaultRadius,
@@ -17,7 +17,9 @@ export const useUsersStyles = createStyles((theme) => {
1717
display: 'flex',
1818
justifyContent: 'space-between',
1919
alignItems: 'center',
20-
padding: '20px',
20+
paddingLeft: '20px',
21+
paddingRight: '20px',
22+
height: '70px',
2123
borderBottom: `1px solid ${colors.gray[2]}`,
2224
},
2325

@@ -42,7 +44,7 @@ export const useUsersStyles = createStyles((theme) => {
4244
borderColor: colors.gray[2],
4345
},
4446
tableContainer: {
45-
47+
height: 'calc(100% - 70px)',
4648
},
4749
tableStyle: {
4850
overflow: 'scroll',

0 commit comments

Comments
 (0)