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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@
gap: 5px;
min-width: 0;
max-width: 100%;
margin-left: -6px;
padding: 0 5px 0 6px;
border-radius: 999px;
background: color-mix(in srgb, var(--element-bg-medium) 62%, transparent);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,11 @@ describe('WorkspaceListSection layout styles', () => {

it('keeps remote connection metadata inside the sidebar with the status dot on the right', () => {
const stylesheet = readWorkspaceListStylesheet();
const remoteChip = extractBlock(stylesheet, '&__workspace-item-remote');
const remoteName = extractBlock(stylesheet, '&__workspace-item-remote-name');

expect(remoteChip).toContain('margin-left: -6px;');
expect(remoteChip).toContain('padding: 0 5px 0 6px;');
expect(remoteName).toContain('flex: 0 1 auto;');
expect(remoteName).toContain('max-width: 160px;');
expect(remoteName).toContain('overflow: hidden;');
Expand Down