🔥 Remove the share link styles from the workspace header

Delete .share-btn and its svg rule, which no markup uses since Share is
a DS icon button. refactor/ stays only for the menu placeholders.

No visual change (0 px).

AI-assisted-by: claude-opus-5-5
This commit is contained in:
Eva Marco 2026-10-28 14:45:32 +01:00
parent 3ff21fbb63
commit 1d681b233a

View File

@ -9,8 +9,8 @@
@use "ds/_utils.scss" as *;
@use "ds/typography.scss" as *;
// Only for the shared menu placeholders, and the button placeholders of
// the share link until the DS has a share icon.
// Only for the shared menu placeholders (%menu-dropdown, %menu-item-base,
// %shortcut-*), which move with the menus group.
@use "refactor/common-refactor.scss" as deprecated;
.workspace-header-right {
@ -120,31 +120,6 @@
position: relative;
}
// Raw link until the DS has a share icon.
.share-btn {
@extend %button-tertiary;
border-radius: $br-8;
margin: 0;
inline-size: $sz-28;
block-size: $sz-28;
border: none;
// The legacy share icon has no class.
svg {
@extend %button-icon;
block-size: $sz-16;
inline-size: $sz-16;
stroke: var(--color-foreground-secondary);
}
&:hover {
background-color: transparent;
border: none;
}
}
.unread {
position: absolute;
inline-size: px2rem(8);