Skip to content

Commit

Permalink
FeaturePanel: Fix nonscrolling taggroup button (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dlurak authored Oct 16, 2024
1 parent b104aab commit 359cfa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/FeaturePanel/Properties/TagsTableInner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const TagsGroup = ({
<>
<tr>
<th>{label}</th>
<td>
<td style={{ overflow: 'visible' }}>
<InlineEditButton k={tags[0][0]} />
{value || tags[0]?.[1]}
{!hideArrow && <ToggleButton onClick={toggle} isShown={isShown} />}
Expand Down
3 changes: 1 addition & 2 deletions src/components/FeaturePanel/helpers/ToggleButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import React from 'react';
import styled from '@emotion/styled';

const StyledToggleButton = styled(IconButton)`
position: absolute !important;
margin: -5px 0 0 0 !important;
margin: -7px 0 -7px 10px;
`;

export const ToggleButton = ({ onClick, isShown }) => (
Expand Down

0 comments on commit 359cfa4

Please sign in to comment.