Skip to content

Commit f647150

Browse files
committed
chore: migrate margin-inline:auto
1 parent a1d324e commit f647150

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export default function RootLayout({
163163
className={cx(
164164
'mt-4 mb-19 mx-3 min-w-65 text-white2',
165165
'md:mt-15 md:mb-25 xl:mb-15',
166-
'2xl:max-w-300 2xl:[margin-inline:auto]',
166+
'2xl:max-w-300 2xl:mx-auto',
167167
'flex flex-col 2xl:flex-row 2xl:justify-center 2xl:items-stretch 2xl:gap-6',
168168
'print:text-black print:!m-0',
169169
)}

components/Article.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const Article = ({ children }: { children?: ReactNode }) => {
77
className={cx(
88
'animate-fade',
99
'bg-eerieBlack2 border border-solid border-jet rounded-5 p-4 shadow-1 z-1',
10-
'md:w-130 md:[margin-inline:auto] md:p-7.5',
10+
'md:w-130 md:mx-auto md:p-7.5',
1111
'lg:w-175 xl:w-237.5 xl:shadow-5 2xl:w-auto 2xl:min-h-full',
1212
'print:!w-full print:bg-inherit print:border-none print:shadow-none print:p-0',
1313
)}

components/SideBar/SideBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const SideBar = () => {
2727
'order-1',
2828
'bg-eerieBlack2 border border-solid border-jet rounded-5 p-4',
2929
'shadow-1 z-1 mb-4 overflow-hidden transition-all duration-500 ease-in-out',
30-
'md:w-130 md:[margin-inline:auto] md:p-7.5 md:mb-7.5',
30+
'md:w-130 md:mx-auto md:p-7.5 md:mb-7.5',
3131
'lg:w-175',
3232
'xl:w-237.5 xl:shadow-5',
3333
'2xl:w-auto 2xl:sticky 2xl:top-15 2xl:h-full 2xl:mb-0 2xl:pt-15 2xl:z-1',

0 commit comments

Comments
 (0)