Skip to content

Commit 847bdfe

Browse files
author
ci-bot
committed
lint
1 parent 6597f18 commit 847bdfe

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

libs/remix-ui/panel/src/lib/main/main-panel.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const RemixUIMainPanel = (props: RemixUIMainPanelProps) => {
1919
const mainPanelRef = useRef<HTMLDivElement>(null)
2020
const tabsRef = useRef<HTMLDivElement>(null)
2121
const terminalGroupRef = useRef<HTMLDivElement>(null)
22-
22+
2323
const refMapping = {
2424
tabs: tabsRef,
2525
editor: editorRef,
@@ -64,20 +64,20 @@ const RemixUIMainPanel = (props: RemixUIMainPanelProps) => {
6464

6565
if (yRelativeToParent < 0) yRelativeToParent = 0
6666
if (yRelativeToParent > parentRect.height) yRelativeToParent = parentRect.height
67-
67+
6868
const totalHeight = parentRect.height - yRelativeToParent
69-
69+
7070
const BOTTOM_BAR_HEIGHT = 32
7171

7272
let correctedHeight = totalHeight - BOTTOM_BAR_HEIGHT
73-
73+
7474
const minTerminalHeight = 8
7575
const minContainerHeight = minTerminalHeight + BOTTOM_BAR_HEIGHT
7676

7777
if (correctedHeight < minContainerHeight) {
7878
correctedHeight = minContainerHeight
7979
}
80-
80+
8181
terminalGroup.style.height = `${correctedHeight}px`
8282
resize(correctedHeight)
8383

@@ -126,10 +126,10 @@ const RemixUIMainPanel = (props: RemixUIMainPanelProps) => {
126126
style={{ display: isTerminalVisible ? 'flex' : 'none' }}
127127
>
128128
{terminalPlugins.map((pluginRecord) => (
129-
<RemixUIPanelPlugin
130-
key={pluginRecord.profile.name}
131-
pluginRecord={pluginRecord}
132-
/>
129+
<RemixUIPanelPlugin
130+
key={pluginRecord.profile.name}
131+
pluginRecord={pluginRecord}
132+
/>
133133
))}
134134
</div>
135135
</div>

0 commit comments

Comments
 (0)