Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve styling of buttons in toolbar & refactor CSS #8295

Merged
merged 15 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released
- Improved the default colors for skeleton trees. [#8228](https://github.com/scalableminds/webknossos/pull/8228)
- Allowed to train an AI model using differently sized bounding boxes. We recommend all bounding boxes to have equal dimensions or to have dimensions which are multiples of the smallest bounding box. [#8222](https://github.com/scalableminds/webknossos/pull/8222)
- Within the bounding box tool, the cursor updates immediately after pressing `ctrl`, indicating that a bounding box can be moved instead of resized. [#8253](https://github.com/scalableminds/webknossos/pull/8253)
- Improved the styling of active tools and modes in the toolbar. [#8295](https://github.com/scalableminds/webknossos/pull/8295)

### Fixed
- Fixed that listing datasets with the `api/datasets` route without compression failed due to missing permissions regarding public datasets. [#8249](https://github.com/scalableminds/webknossos/pull/8249)
Expand Down
2 changes: 1 addition & 1 deletion frontend/javascripts/components/fast_tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { Tooltip as ReactTooltip } from "react-tooltip";
const ROOT_TOOLTIP_IDS = {
DEFAULT: "main-tooltip",
DYNAMIC: "main-tooltip-dynamic",
};
} as const;

export type FastTooltipPlacement =
| "top"
Expand Down
21 changes: 11 additions & 10 deletions frontend/javascripts/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -983,16 +983,17 @@ function Navbar({
paddingTop: navbarHeight > constants.DEFAULT_NAVBAR_HEIGHT ? constants.BANNER_HEIGHT : 0,
}}
/>

<div
style={{
display: "flex",
justifyContent: "flex-end",
marginRight: 12,
}}
>
{trailingNavItems}
</div>
<ConfigProvider theme={{ ...getAntdTheme("dark") }}>
<div
style={{
display: "flex",
justifyContent: "flex-end",
marginRight: 12,
}}
>
{trailingNavItems}
</div>
</ConfigProvider>
</Header>
);
}
Expand Down
Loading