Skip to content

Commit

Permalink
Fix position of context menu in layer settings for layers with long n…
Browse files Browse the repository at this point in the history
…ames (#7747)

* fix position of context menu

* add PR number

* improve changelog
  • Loading branch information
dieknolle3333 committed Apr 10, 2024
1 parent fc5163d commit 0609c26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released
- Fixed that invisible nodes could be selected when using the skeleton tool. [#7732](https://github.com/scalableminds/webknossos/pull/7732)
- Fixed a bug where users that have no team memberships were omitted from the user list. [#7721](https://github.com/scalableminds/webknossos/pull/7721)
- Added an appropriate placeholder to be rendered in case the timetracking overview is otherwise empty. [#7736](https://github.com/scalableminds/webknossos/pull/7736)
- The overflow menu in the layer settings tab for layers with long names can now be opened comfortably. [#7747](https://github.com/scalableminds/webknossos/pull/7747)

### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -816,13 +816,13 @@ class DatasetSettings extends React.PureComponent<DatasetSettingsProps, State> {
{isColorLayer ? null : this.getOptionalDownsampleVolumeIcon(maybeVolumeTracing)}
</div>
</div>
<Dropdown menu={{ items }} trigger={["hover"]} placement="bottomRight">
<div className="flex-container" style={{ cursor: "pointer" }}>
<div className="flex-item">
<div className="flex-container" style={{ cursor: "pointer" }}>
<div className="flex-item">
<Dropdown menu={{ items }} trigger={["hover"]} placement="bottomRight">
<EllipsisOutlined />
</div>
</Dropdown>
</div>
</Dropdown>
</div>
</div>
);
};
Expand Down

0 comments on commit 0609c26

Please sign in to comment.