Skip to content

Commit 7641ae8

Browse files
joeizangAniket-Engg
authored andcommitted
adjust gap upon resizing of viewport
1 parent 6c39eef commit 7641ae8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/remix-ui/top-bar/src/lib/remix-ui-topbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export function RemixUiTopbar() {
156156
if (!labelsCompact && gap < 24) return setCompactRightLabels(true)
157157
if (labelsCompact && !panelCompact && gap < 24) return setCompactPanelControl(true)
158158
if (panelCompact && gap > 100) return setCompactPanelControl(false)
159-
if (labelsCompact && !panelCompact && gap > 170) return setCompactRightLabels(false)
159+
if (labelsCompact && !panelCompact && gap > 120) return setCompactRightLabels(false)
160160
}, [])
161161

162162
useEffect(() => {

0 commit comments

Comments
 (0)