Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

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: 0 additions & 1 deletion apps/ui/src/components/sidebar-header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export function SidebarHeader( { onToggleSidebar }: Props ) {
label={ __( 'Menu' ) }
onClick={ handleOpenAppMenu }
/>
<span className={ styles.title }>{ __( 'Studio' ) }</span>
<div className={ styles.actions }>
<Menu.Root modal={ false }>
<Menu.Trigger
Expand Down
18 changes: 3 additions & 15 deletions apps/ui/src/components/sidebar-header/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@

/* When there are no traffic lights to clear — non-macOS, the browser
(`studio ui` / hosted), or macOS fullscreen (which hides them) — reclaim the
reserved padding and align the title with the site list entries below. The
site list outer padding is `2xl` and its rows now start flush with that edge
(no row/button inline-start padding), so the site label text starts at `2xl`
from the sidebar edge. */
reserved padding so the header content lines up with the site list entries
below. The site list outer padding is `2xl` and its rows start flush with
that edge, so text starts at `2xl` from the sidebar edge. */
.flush {
padding-left: var(--wpds-dimension-padding-2xl);
}
Expand All @@ -36,17 +35,6 @@
cursor: var(--wpds-cursor-control);
}

.title {
flex: 1;
min-width: 0;
font-size: var(--wpds-typography-font-size-md);
font-weight: 600;
color: var(--wpds-color-fg-content-neutral);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.actions {
display: flex;
align-items: center;
Expand Down