File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed
Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function Navbar() {
1717 } ;
1818
1919 return (
20- < div className = "flex items-center justify-between pt -6 lg:pt -3" >
20+ < div className = "flex items-center justify-between py -6 lg:py -3" >
2121 < ChainLink to = "/" className = "-m-2 flex items-center gap-2 p-2 font-mono" >
2222 < img src = { iExecLogo } width = "25" height = "25" alt = "iExec logo" />
2323 < span className = "hidden sm:block" > iExec Explorer</ span >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export function SearcherBar({ className }: { className?: string }) {
99 const { isConnected, address : userAddress } = useUserStore ( ) ;
1010
1111 return (
12- < div className = { cn ( 'm-auto w-full max-w-2xl ' , className ) } >
12+ < div className = { cn ( 'm-auto w-full' , className ) } >
1313 < div className = "relative w-full" >
1414 < Input
1515 className = { cn (
@@ -20,12 +20,13 @@ export function SearcherBar({ className }: { className?: string }) {
2020 />
2121 < Search
2222 size = "18"
23- className = "absolute top-1/2 left-4 -translate-y-1/2 sm:left-6"
23+ className = "pointer-events-none absolute top-1/2 left-4 -translate-y-1/2 sm:left-6"
2424 />
2525 { isConnected && (
2626 < Button
2727 variant = "outline"
2828 className = "bg-input hover:bg-secondary absolute top-1/2 right-4 hidden -translate-y-1/2 sm:flex"
29+ asChild
2930 >
3031 < ChainLink to = { `/address/${ userAddress } ` } > My activity</ ChainLink >
3132 </ Button >
@@ -34,7 +35,8 @@ export function SearcherBar({ className }: { className?: string }) {
3435 { isConnected && (
3536 < Button
3637 variant = "outline"
37- className = "mx-auto mt-4 flex w-auto sm:hidden"
38+ className = "mx-auto mt-4 flex w-fit sm:hidden"
39+ asChild
3840 >
3941 < ChainLink to = { `/address/${ userAddress } ` } > My activity</ ChainLink >
4042 </ Button >
Original file line number Diff line number Diff line change @@ -17,8 +17,11 @@ function Index() {
1717 const currentChain = SUPPORTED_CHAINS . find ( ( chain ) => chain . id === chainId ) ;
1818
1919 return (
20- < div className = "mt-8 flex flex-col gap-10 sm:gap-20" >
21- < div className = "radial-bg sm:before:bg-grey-800 border-secondary relative z-0 mx-auto w-full max-w-[1408px] overflow-hidden rounded-2xl pt-10 sm:h-80 sm:border sm:px-12 sm:pt-20" >
20+ < div className = "flex flex-col gap-10 pt-10 sm:mt-6 sm:gap-20 md:mt-10" >
21+ < div className = "radial-bg sm:before:bg-grey-800 border-secondary relative z-0 mx-auto w-full max-w-[1408px] overflow-hidden sm:rounded-2xl sm:border sm:p-16 sm:px-12" >
22+ < h1 className = "mb-2 text-lg font-extrabold md:text-2xl" >
23+ The iExec Protocol Explorer
24+ </ h1 >
2225 < SearcherBar />
2326 < div className = "absolute inset-0 -z-10 hidden blur-2xl sm:block sm:blur-[100px] lg:blur-[150px]" >
2427 < div
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const Route = createRootRoute({
1111
1212function Root ( ) {
1313 return (
14- < div className = "mx-auto mb-20 w-full px-6 md:px-10 lg:px-20" >
14+ < div className = "mx-auto mb-20 w-full px-4 md:px-10 lg:px-20" >
1515 < ChainSyncManager />
1616 < Navbar />
1717 < UnsupportedChain />
You can’t perform that action at this time.
0 commit comments