Skip to content

Commit

Permalink
fix segment list line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzenklotz committed Feb 1, 2023
1 parent a6d1e58 commit b4f4a06
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ function ColoredDotIconForSegment({ segmentColorHSLA }: { segmentColorHSLA: Vect
style={{
paddingLeft: "10px",
backgroundColor: hslaCss,
marginTop: 5,
}}
/>
);
Expand Down Expand Up @@ -470,6 +471,7 @@ function _SegmentListItem({
trigger={["contextMenu"]}
>
<Tooltip title={getSegmentTooltip(segment)}>
<div style={{display: "inline-flex"}}>
<ColoredDotIconForSegment segmentColorHSLA={segmentColorHSLA} />
<EditableTextLabel
value={segment.name || `Segment ${segment.id}`}
Expand Down Expand Up @@ -516,6 +518,7 @@ function _SegmentListItem({
/>
</Tooltip>
) : null}
</div>
</Tooltip>
</Dropdown>

Expand Down

0 comments on commit b4f4a06

Please sign in to comment.