diff --git a/frontend-monorepo/packages/hanglog-admin/src/components/adminMember/AdminMemberTable/AdminMemberTable.style.ts b/frontend-monorepo/packages/hanglog-admin/src/components/adminMember/AdminMemberTable/AdminMemberTable.style.ts index c1ae4281..81c5efb0 100644 --- a/frontend-monorepo/packages/hanglog-admin/src/components/adminMember/AdminMemberTable/AdminMemberTable.style.ts +++ b/frontend-monorepo/packages/hanglog-admin/src/components/adminMember/AdminMemberTable/AdminMemberTable.style.ts @@ -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%', + }, +}); diff --git a/frontend-monorepo/packages/hanglog-admin/src/components/category/CategoryTable/CategoryTable.style.ts b/frontend-monorepo/packages/hanglog-admin/src/components/category/CategoryTable/CategoryTable.style.ts index 3a5ae962..332a3a40 100644 --- a/frontend-monorepo/packages/hanglog-admin/src/components/category/CategoryTable/CategoryTable.style.ts +++ b/frontend-monorepo/packages/hanglog-admin/src/components/category/CategoryTable/CategoryTable.style.ts @@ -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%', + }, +}); diff --git a/frontend-monorepo/packages/hanglog-admin/src/components/city/CityTable/CityTable.style.ts b/frontend-monorepo/packages/hanglog-admin/src/components/city/CityTable/CityTable.style.ts index b64438b3..6edd56c2 100644 --- a/frontend-monorepo/packages/hanglog-admin/src/components/city/CityTable/CityTable.style.ts +++ b/frontend-monorepo/packages/hanglog-admin/src/components/city/CityTable/CityTable.style.ts @@ -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%', + }, +}); diff --git a/frontend-monorepo/packages/hanglog-admin/src/components/currency/CurrencyTable/CurrencyTable.style.ts b/frontend-monorepo/packages/hanglog-admin/src/components/currency/CurrencyTable/CurrencyTable.style.ts index 3cf59797..6efc3182 100644 --- a/frontend-monorepo/packages/hanglog-admin/src/components/currency/CurrencyTable/CurrencyTable.style.ts +++ b/frontend-monorepo/packages/hanglog-admin/src/components/currency/CurrencyTable/CurrencyTable.style.ts @@ -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%', + }, +}); diff --git a/frontend-monorepo/packages/hanglog-admin/src/pages/AdminMemberPage/AdminMemberPage.style.ts b/frontend-monorepo/packages/hanglog-admin/src/pages/AdminMemberPage/AdminMemberPage.style.ts index 29c19b86..994998a7 100644 --- a/frontend-monorepo/packages/hanglog-admin/src/pages/AdminMemberPage/AdminMemberPage.style.ts +++ b/frontend-monorepo/packages/hanglog-admin/src/pages/AdminMemberPage/AdminMemberPage.style.ts @@ -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', diff --git a/frontend-monorepo/packages/hanglog-admin/src/pages/CategoryPage/CategoryPage.style.ts b/frontend-monorepo/packages/hanglog-admin/src/pages/CategoryPage/CategoryPage.style.ts index 29c19b86..994998a7 100644 --- a/frontend-monorepo/packages/hanglog-admin/src/pages/CategoryPage/CategoryPage.style.ts +++ b/frontend-monorepo/packages/hanglog-admin/src/pages/CategoryPage/CategoryPage.style.ts @@ -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', diff --git a/frontend-monorepo/packages/hanglog-admin/src/pages/CityPage/CityPage.style.ts b/frontend-monorepo/packages/hanglog-admin/src/pages/CityPage/CityPage.style.ts index 29c19b86..994998a7 100644 --- a/frontend-monorepo/packages/hanglog-admin/src/pages/CityPage/CityPage.style.ts +++ b/frontend-monorepo/packages/hanglog-admin/src/pages/CityPage/CityPage.style.ts @@ -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', diff --git a/frontend-monorepo/packages/hanglog-admin/src/pages/CurrencyPage/CurrencyPage.style.ts b/frontend-monorepo/packages/hanglog-admin/src/pages/CurrencyPage/CurrencyPage.style.ts index 29c19b86..994998a7 100644 --- a/frontend-monorepo/packages/hanglog-admin/src/pages/CurrencyPage/CurrencyPage.style.ts +++ b/frontend-monorepo/packages/hanglog-admin/src/pages/CurrencyPage/CurrencyPage.style.ts @@ -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',