Skip to content

Commit 30be360

Browse files
committed
fix build and layout
1 parent 71dd076 commit 30be360

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
599599
<div style={{ height: '100%' }}>
600600
<Toaster message={state.toastMessage} />
601601
{!state.debugging && (
602-
<div className="px-2 pb-3 pt-3" ref={debuggerTopRef}>
602+
<div className="pb-2 pt-2" ref={debuggerTopRef}>
603603
{/* Search Bar */}
604604
<SearchBar
605605
onSearch={handleSearch}
@@ -609,7 +609,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
609609
/>
610610

611611
{/* Informational Text */}
612-
<div className="debugger-info mb-2">
612+
<div className="debugger-info ms-2 me-2 mb-2">
613613
<h6 className="search-bar-title mt-3">
614614
<FormattedMessage id="debugger.startDebugging" defaultMessage="Start debugging a transaction" />
615615
</h6>
@@ -625,7 +625,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
625625

626626
{/* Configuration Options */}
627627
<div>
628-
<div className="mb-2 debuggerConfig form-check">
628+
<div className="ms-2 mb-2 debuggerConfig form-check">
629629
<CustomTooltip tooltipId="debuggerGenSourceCheckbox" tooltipText={<FormattedMessage id="debugger.debugWithGeneratedSources" />} placement="bottom-start">
630630
{customJSX}
631631
</CustomTooltip>
@@ -654,8 +654,10 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
654654
)}
655655
</div>
656656

657-
{/* Transaction Recorder Section */}
658-
{!state.debugging && transactionRecorderUI}
657+
{/* Transaction Recorder Section */}
658+
{transactionRecorderUI}
659+
</div>
660+
)}
659661

660662
{state.debugging && state.sourceLocationStatus && (
661663
<div className="text-warning mt-3">

libs/remix-ui/debugger-ui/src/lib/search-bar/search-bar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const SearchBar = ({ onSearch, debugging, currentTxHash = '', onStopDebug
4242
}
4343

4444
return (
45-
<div className="debugger-search-bar">
45+
<div className="debugger-search-bar ms-2 me-2">
4646
<div className="search-input-wrapper">
4747
<i className="fas fa-search search-icon"></i>
4848
<input

0 commit comments

Comments
 (0)