Skip to content

Commit

Permalink
refactor: style 선언 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
LJW25 committed Feb 10, 2024
1 parent ebb0bb3 commit ed14a01
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 147 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { css } from '@emotion/react';

export const tableStyling = () => {
return css({
'th:first-of-type, th:last-of-type': {
width: '20%',
},
export const tableStyling = css({
'th:first-of-type, th:last-of-type': {
width: '20%',
},

'th:not(:first-of-type):not(:last-of-type)': {
width: '30%',
},
});
};
'th:not(:first-of-type):not(:last-of-type)': {
width: '30%',
},
});
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { css } from '@emotion/react';

export const tableStyling = () => {
return css({
'th:first-of-type, th:last-of-type': {
width: '15%',
},
export const tableStyling = css({
'th:first-of-type, th:last-of-type': {
width: '15%',
},

'th:not(:first-of-type):not(:last-of-type)': {
width: '35%',
},
});
};
'th:not(:first-of-type):not(:last-of-type)': {
width: '35%',
},
});
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { css } from '@emotion/react';

export const tableStyling = () => {
return css({
'th:first-of-type, th:last-of-type': {
width: '10%',
},
export const tableStyling = css({
'th:first-of-type, th:last-of-type': {
width: '10%',
},

'th:not(:first-of-type):not(:last-of-type)': {
width: '20%',
},
});
};
'th:not(:first-of-type):not(:last-of-type)': {
width: '20%',
},
});
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import { css } from '@emotion/react';

export const tableStyling = () => {
return css({
'th:first-of-type, th:last-of-type': {
width: '5%',
},
export const tableStyling = css({
'th:first-of-type, th:last-of-type': {
width: '5%',
},

'th:second-of-type': {
width: '10%',
},
'th:second-of-type': {
width: '10%',
},

'th:not(:first-of-type):not(:last-of-type):not(:second-of-type)': {
width: '8%',
},
});
};
'th:not(:first-of-type):not(:last-of-type):not(:second-of-type)': {
width: '8%',
},
});
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
import { css } from '@emotion/react';
import { Theme } from 'hang-log-design-system';

export const containerStyling = () => {
return css({
width: '80vw',
padding: `${Theme.spacer.spacing6} ${Theme.spacer.spacing6} ${Theme.spacer.spacing0} ${Theme.spacer.spacing6}`,
});
};

export const titleStyling = () => {
return css({
alignSelf: 'flex-start',
});
};

export const addButtonStyling = () => {
return css({
margin: Theme.spacer.spacing3,
alignSelf: 'flex-end',
});
};

export const tableStyling = () => {
return css({
width: '70vw',
height: '60vh',
});
};
export const containerStyling = css({
width: '80vw',
padding: `${Theme.spacer.spacing6} ${Theme.spacer.spacing6} ${Theme.spacer.spacing0} ${Theme.spacer.spacing6}`,
});

export const titleStyling = css({
alignSelf: 'flex-start',
});

export const addButtonStyling = css({
margin: Theme.spacer.spacing3,
alignSelf: 'flex-end',
});

export const tableStyling = css({
width: '70vw',
height: '60vh',
});

export const pagenationSkeletonStyling = css({
display: 'flex',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
import { css } from '@emotion/react';
import { Theme } from 'hang-log-design-system';

export const containerStyling = () => {
return css({
width: '80vw',
padding: `${Theme.spacer.spacing6} ${Theme.spacer.spacing6} ${Theme.spacer.spacing0} ${Theme.spacer.spacing6}`,
});
};

export const titleStyling = () => {
return css({
alignSelf: 'flex-start',
});
};

export const addButtonStyling = () => {
return css({
margin: Theme.spacer.spacing3,
alignSelf: 'flex-end',
});
};

export const tableStyling = () => {
return css({
width: '70vw',
height: '60vh',
});
};
export const containerStyling = css({
width: '80vw',
padding: `${Theme.spacer.spacing6} ${Theme.spacer.spacing6} ${Theme.spacer.spacing0} ${Theme.spacer.spacing6}`,
});

export const titleStyling = css({
alignSelf: 'flex-start',
});

export const addButtonStyling = css({
margin: Theme.spacer.spacing3,
alignSelf: 'flex-end',
});

export const tableStyling = css({
width: '70vw',
height: '60vh',
});

export const pagenationSkeletonStyling = css({
display: 'flex',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
import { css } from '@emotion/react';
import { Theme } from 'hang-log-design-system';

export const containerStyling = () => {
return css({
width: '80vw',
padding: `${Theme.spacer.spacing6} ${Theme.spacer.spacing6} ${Theme.spacer.spacing0} ${Theme.spacer.spacing6}`,
});
};

export const titleStyling = () => {
return css({
alignSelf: 'flex-start',
});
};

export const addButtonStyling = () => {
return css({
margin: Theme.spacer.spacing3,
alignSelf: 'flex-end',
});
};

export const tableStyling = () => {
return css({
width: '70vw',
height: '60vh',
});
};
export const containerStyling = css({
width: '80vw',
padding: `${Theme.spacer.spacing6} ${Theme.spacer.spacing6} ${Theme.spacer.spacing0} ${Theme.spacer.spacing6}`,
});

export const titleStyling = css({
alignSelf: 'flex-start',
});

export const addButtonStyling = css({
margin: Theme.spacer.spacing3,
alignSelf: 'flex-end',
});

export const tableStyling = css({
width: '70vw',
height: '60vh',
});

export const pagenationSkeletonStyling = css({
display: 'flex',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
import { css } from '@emotion/react';
import { Theme } from 'hang-log-design-system';

export const containerStyling = () => {
return css({
width: '80vw',
padding: `${Theme.spacer.spacing6} ${Theme.spacer.spacing6} ${Theme.spacer.spacing0} ${Theme.spacer.spacing6}`,
});
};

export const titleStyling = () => {
return css({
alignSelf: 'flex-start',
});
};

export const addButtonStyling = () => {
return css({
margin: Theme.spacer.spacing3,
alignSelf: 'flex-end',
});
};

export const tableStyling = () => {
return css({
width: '70vw',
height: '60vh',
});
};
export const containerStyling = css({
width: '80vw',
padding: `${Theme.spacer.spacing6} ${Theme.spacer.spacing6} ${Theme.spacer.spacing0} ${Theme.spacer.spacing6}`,
});

export const titleStyling = css({
alignSelf: 'flex-start',
});

export const addButtonStyling = css({
margin: Theme.spacer.spacing3,
alignSelf: 'flex-end',
});

export const tableStyling = css({
width: '70vw',
height: '60vh',
});

export const pagenationSkeletonStyling = css({
display: 'flex',
Expand Down

0 comments on commit ed14a01

Please sign in to comment.