Skip to content

Commit 430d33c

Browse files
remove comment and div
1 parent 48c546c commit 430d33c

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

frontend/javascripts/viewer/view/action_bar/tools/volume_specific_ui.tsx

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -173,20 +173,16 @@ export function VolumeInterpolationButton() {
173173
);
174174

175175
return (
176-
// Without the outer div, the Dropdown can eat up all the remaining horizontal space,
177-
// moving sibling elements to the far right.
178-
<div>
179-
<Space.Compact>
180-
<FastTooltip title={tooltipTitle}>
181-
<Button
182-
icon={<Icon component={InterpolateIcon} />}
183-
onClick={onInterpolateClick}
184-
disabled={isDisabled}
185-
style={{ padding: "0 5px 0 6px" }}
186-
/>
187-
</FastTooltip>
188-
</Space.Compact>
189-
</div>
176+
<Space.Compact>
177+
<FastTooltip title={tooltipTitle}>
178+
<Button
179+
icon={<Icon component={InterpolateIcon} />}
180+
onClick={onInterpolateClick}
181+
disabled={isDisabled}
182+
style={{ padding: "0 5px 0 6px" }}
183+
/>
184+
</FastTooltip>
185+
</Space.Compact>
190186
);
191187
}
192188

0 commit comments

Comments
 (0)