File tree Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,9 @@ function App() {
66 useDynamicFavicon ( ) ;
77
88 return (
9- < >
10- < Layout >
11- < p className = "text-gray-600 dark:text-gray-200 text-center mb-8" >
12- Compare files and visualize differences in real-time
13- </ p >
14-
15- < DiffEditor />
16- </ Layout >
17- </ >
9+ < Layout >
10+ < DiffEditor />
11+ </ Layout >
1812 ) ;
1913}
2014
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export const Footer = ({ className = "" }: FooterProps) => {
77 < footer
88 className = { `bg-gray-50 dark:bg-gray-900 border-t border-gray-200 dark:border-gray-700 ${ className } ` }
99 >
10- < div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 " >
10+ < div className = "mx-auto px-4 sm:px-6 lg:px-8 py-4 " >
1111 < div className = "flex flex-col md:flex-row justify-between items-center" >
1212 < p className = "text-gray-500 dark:text-gray-400 text-sm text-center" >
1313 Diff Viewer - A simple real-time diff viewer built with monaco
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ interface HeaderProps {
77export const Header = ( { className = '' } : HeaderProps ) => {
88 return (
99 < header className = { `bg-white dark:bg-gray-900 border-b border-gray-200 dark:border-gray-700 shadow-sm ${ className } ` } >
10- < div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" >
10+ < div className = "mx-auto px-4 sm:px-6 lg:px-8" >
1111 < div className = "flex justify-between items-center h-16" >
1212 { /* Logo */ }
1313 < div className = "flex items-center" >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export const Layout = ({ children, className = '' }: LayoutProps) => {
1313 < Header />
1414
1515 { /* Main Content Area */ }
16- < main className = "flex-1 max-w-7xl mx-auto flex flex-col px-4 sm:px-6 lg:px-8 py-8 w-full" >
16+ < main className = "flex-1 mx-auto flex flex-col px-4 sm:px-6 lg:px-8 py-8 w-full" >
1717 { children }
1818 </ main >
1919
You can’t perform that action at this time.
0 commit comments