- Remove the large active-space name header in the space sidebar;
the active space stays highlighted in the spaces grid below.
- Move "Space settings" into the user avatar (top) menu next to
"Workspace settings"; it shows only while viewing a space and is
detected via useMatch("/s/:spaceSlug/*").
- Make the brand logo non-selectable/non-draggable (user-select:none
on .brand, draggable=false on the img).
- Remove the redundant "Home" button next to the logo (the logo
already links to /home).
- Remove the version label under the Settings sidebar menu.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
37 lines
1.1 KiB
CSS
37 lines
1.1 KiB
CSS
.header {
|
|
height: 100%;
|
|
margin-bottom: rem(120px);
|
|
background-color: var(--mantine-color-body);
|
|
border-bottom: rem(1px) solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
|
|
padding-left: var(--mantine-spacing-md);
|
|
padding-right: var(--mantine-spacing-md);
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.brandIcon {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.brandVersion {
|
|
/* Render the version smaller than before (was Mantine "xs" = 12px). */
|
|
font-size: rem(10px);
|
|
line-height: 1;
|
|
color: var(--mantine-color-dimmed);
|
|
white-space: nowrap;
|
|
user-select: text;
|
|
/* Lift the version so its text baseline sits on the logo wordmark baseline.
|
|
The wordmark baseline is at ~31% of the logo height above the image bottom
|
|
(SVG baseline y=42.689 in a -7.25..65.25 viewBox); for the 30px desktop logo
|
|
that is ~9.3px, minus the font descent (~2px) ≈ 7px. */
|
|
margin-bottom: rem(7px);
|
|
}
|