CI / Build & Quality Checks (pull_request) Successful in 1m43s
CI / Trigger Desktop Build (pull_request) Skipped
CI / Docker image build & smoke test (pull_request) Skipped
CI / Secret scan (gitleaks) (pull_request) Successful in 8s
CI / Playwright smoke (e2e) (pull_request) Successful in 13m12s
Members and bookmarks were 266px, the gallery 320, the threads list 340, a thread and widgets 360. Swapping panels resized the room view, so the header icons slid sideways (74px for members -> threads) and a second click on the same spot opened Widgets instead of closing the panel. All six now use SIDE_PANEL_WIDTH (340px, styles/sidePanel.ts). Fixes #263 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
44 lines
1.1 KiB
TypeScript
44 lines
1.1 KiB
TypeScript
import { style } from '@vanilla-extract/css';
|
|
import { config } from 'folds';
|
|
import { SIDE_PANEL_WIDTH } from '../../styles/sidePanel';
|
|
|
|
// Mirrors MembersDrawer: a side panel (shared width) on desktop that becomes a
|
|
// full-screen fixed panel on narrow viewports — the app's canonical drawer.
|
|
export const BookmarksPanel = style({
|
|
width: SIDE_PANEL_WIDTH,
|
|
'@media': {
|
|
'(max-width: 750px)': {
|
|
position: 'fixed',
|
|
inset: 0,
|
|
width: '100%',
|
|
zIndex: 500,
|
|
},
|
|
},
|
|
});
|
|
|
|
export const BookmarksHeader = style({
|
|
flexShrink: 0,
|
|
padding: `0 ${config.space.S200} 0 ${config.space.S300}`,
|
|
borderBottomWidth: config.borderWidth.B300,
|
|
});
|
|
|
|
export const BookmarksToolbar = style({
|
|
flexShrink: 0,
|
|
padding: config.space.S200,
|
|
borderBottomWidth: config.borderWidth.B300,
|
|
});
|
|
|
|
export const BookmarksContent = style({
|
|
padding: config.space.S200,
|
|
});
|
|
|
|
export const BookmarkPreview = style({
|
|
width: '100%',
|
|
display: '-webkit-box',
|
|
WebkitLineClamp: 2,
|
|
WebkitBoxOrient: 'vertical',
|
|
overflow: 'hidden',
|
|
wordBreak: 'break-word',
|
|
textAlign: 'left',
|
|
});
|