@@ -77,7 +77,7 @@ const BroadcastTransaction = () => {
77
77
78
78
return (
79
79
< >
80
- < div className = "flex items-center gap-4" >
80
+ < div className = "flex items-center gap-4 max-sm:flex-col max-sm:items-start " >
81
81
< div className = "flex items-center gap-4" >
82
82
< span > Chain:</ span >
83
83
< div className = "border border-[#e2e2e3] dark:border-[#2e2e32] hover:border-[#3451b2] rounded-lg overflow-hidden w-fit" >
@@ -97,15 +97,15 @@ const BroadcastTransaction = () => {
97
97
</ select >
98
98
</ div >
99
99
</ div >
100
- < div className = "flex items-center gap-4" >
100
+ < div className = "flex items-center gap-4 max-sm:flex-col max-sm:items-start " >
101
101
< span > Raw Transaction Hex:</ span >
102
102
< div className = "border border-[#e2e2e3] dark:border-[#2e2e32] hover:border-[#3451b2] rounded-lg overflow-hidden w-fit" >
103
103
< input
104
104
type = "text"
105
105
id = "raw-hex"
106
106
name = "Raw Hex"
107
107
value = { rawHex }
108
- className = "bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white"
108
+ className = "max-sm:w-[300px] bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white"
109
109
placeholder = "Enter an raw transaction hex"
110
110
onChange = { ( e ) => setRawHex ( e . target . value ) }
111
111
/>
@@ -131,13 +131,15 @@ const BroadcastTransaction = () => {
131
131
) }
132
132
</ button >
133
133
</ div >
134
- < div className = "my-4 rounded-lg max-h-[600px] overflow-auto bg-[#F6F6F7] text-[#24292E] dark:bg-[#161618] dark:text-[#E1E4E8]" >
134
+ < div className = "my-4 rounded-lg bg-[#F6F6F7] text-[#24292E] dark:bg-[#161618] dark:text-[#E1E4E8]" >
135
135
< div className = "px-5 border-b border-[#e2e2e3] dark:border-black" >
136
136
< span className = "inline-block border-b-2 border-[#3451b2] dark:border-[#a8b1ff] text-[14px] leading-[48px]" >
137
137
Response
138
138
</ span >
139
139
</ div >
140
- < pre className = "p-5" > { JSON . stringify ( response , null , 2 ) } </ pre >
140
+ < pre className = "p-5 max-h-[600px] overflow-auto" >
141
+ { JSON . stringify ( response , null , 2 ) }
142
+ </ pre >
141
143
</ div >
142
144
</ >
143
145
) ;
0 commit comments