File tree Expand file tree Collapse file tree 3 files changed +19
-21
lines changed
block-explorer/components Expand file tree Collapse file tree 3 files changed +19
-21
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export const LatestBlocks = (props: LatestBlocksProps) => {
47
47
< TimeAgoDate date = { block . timestamp } />
48
48
</ span >
49
49
) : (
50
- < span className = "text-xs text-[#FB923C] " > Unfinalized</ span >
50
+ < span className = "text-xs text-text-warning-primary " > Unfinalized</ span >
51
51
) }
52
52
</ DataItemCard >
53
53
) ;
Original file line number Diff line number Diff line change @@ -36,16 +36,16 @@ export default function MainSearch() {
36
36
37
37
return (
38
38
< div className = "relative" >
39
- < RiSearchLine className = "absolute left-4 top-3 -z-10 size-4 text-muted-foreground" />
39
+ < RiSearchLine className = "absolute left-3 top-2 -z-10 size-4 text-muted-foreground" />
40
40
< Input
41
41
ref = { inputRef }
42
- className = "px-10 focus:outline-0"
42
+ className = "h-8 px-9 focus:outline-0"
43
43
placeholder = "Search by address / txn hash / block..."
44
44
value = { value }
45
45
onChange = { handleChangeValue }
46
46
onKeyDown = { handlePress }
47
47
/>
48
- < div className = "absolute right-2 .5 top-2 .5 -z-10 m-auto flex size-5 items-center justify-center rounded-[4px] bg-[#F5F5F5] text-muted-foreground dark:bg-[#1C1C1C]" >
48
+ < div className = "absolute right-1 .5 top-1 .5 -z-10 m-auto flex size-5 items-center justify-center rounded-[4px] bg-[#F5F5F5] text-muted-foreground dark:bg-[#1C1C1C]" >
49
49
< svg xmlns = "http://www.w3.org/2000/svg" width = "14" height = "14" viewBox = "0 0 14 14" fill = "none" >
50
50
< path d = "M8.06061 2.33337H9.33334L5.9394 11.6667H4.66667L8.06061 2.33337Z" fill = "currentColor" />
51
51
</ svg >
Original file line number Diff line number Diff line change @@ -12,24 +12,22 @@ export const SiteTopBar = () => {
12
12
const isHomePage = pathname === '/' ;
13
13
14
14
return (
15
- < div className = "border-b pb-[11px] pt-3" >
16
- < div className = "container px-4 lg:px-8" >
17
- < div className = "flex items-center justify-between gap-4" >
18
- < div className = "hidden w-full select-none items-center gap-2 text-xs text-primary/80 lg:flex" >
19
- < OnlyMainnet >
20
- < RootPrice />
21
- </ OnlyMainnet >
22
- { isHomePage && < div className = "hidden lg:flex-1" /> }
23
- < RiGasStationLine className = "size-4 text-muted-foreground" /> { ' ' }
24
- < span className = "text-muted-foreground" > EVM Gas: </ span >
25
- < span > 7500 Gwei</ span >
26
- </ div >
27
- { ! isHomePage && (
28
- < div className = "w-full grow lg:max-w-[656px]" >
29
- < MainSearch />
30
- </ div >
31
- ) }
15
+ < div className = "border-b" >
16
+ < div className = "container flex h-12 items-center justify-between gap-4 px-4 py-2 lg:px-8" >
17
+ < div className = "hidden w-full select-none items-center gap-2 text-xs text-primary/80 lg:flex" >
18
+ < OnlyMainnet >
19
+ < RootPrice />
20
+ </ OnlyMainnet >
21
+ { isHomePage && < div className = "hidden lg:flex-1" /> }
22
+ < RiGasStationLine className = "size-4 text-muted-foreground" /> { ' ' }
23
+ < span className = "text-muted-foreground" > EVM Gas: </ span >
24
+ < span > 7500 Gwei</ span >
32
25
</ div >
26
+ { ! isHomePage && (
27
+ < div className = "w-full grow lg:max-w-[656px]" >
28
+ < MainSearch />
29
+ </ div >
30
+ ) }
33
31
</ div >
34
32
</ div >
35
33
) ;
You can’t perform that action at this time.
0 commit comments