Files
cinny/src/app/features/room/thread/ThreadsListPanel.css.ts
T
Lotus CIandClaude Opus 5.5 ed494d2ae5
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
fix(room): one width for every right-hand panel (#263)
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
2026-10-19 14:14:26 -04:00

46 lines
1.1 KiB
TypeScript

import { style } from '@vanilla-extract/css';
import { color, config } from 'folds';
import { SIDE_PANEL_WIDTH } from '../../../styles/sidePanel';
export const ThreadsListPanel = style({
width: SIDE_PANEL_WIDTH,
'@media': {
'(max-width: 750px)': {
position: 'fixed',
inset: 0,
width: '100%',
zIndex: 500,
},
},
});
export const ThreadsListHeader = style({
flexShrink: 0,
padding: `0 ${config.space.S200} 0 ${config.space.S300}`,
borderBottomWidth: config.borderWidth.B300,
});
export const ThreadsListToolbar = style({
flexShrink: 0,
padding: config.space.S200,
borderBottomWidth: config.borderWidth.B300,
});
export const ThreadsListContent = style({
padding: config.space.S200,
});
export const ThreadRow = style({
width: '100%',
textAlign: 'left',
cursor: 'pointer',
border: 'none',
borderRadius: config.radii.R300,
padding: config.space.S300,
background: color.SurfaceVariant.Container,
selectors: {
'&:hover': { background: color.SurfaceVariant.ContainerHover },
'&:active': { background: color.SurfaceVariant.ContainerActive },
},
});