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
1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@
'phtauri://localhost': true, // tauri prod app
'https://phtauri.localhost': true, // tauri
'https://phcode.live': true, // phcode prod live preview server
'https://ai-panel-onboarding.phcode.dev': true, // Ai panel onboarding iframes
'https://phcode.dev': true,
'https://dev.phcode.dev': true,
'https://staging.phcode.dev': true,
Expand Down
8 changes: 7 additions & 1 deletion src/styles/Extn-AIChatPanel.less
Original file line number Diff line number Diff line change
Expand Up @@ -2967,10 +2967,16 @@
gap: 0;
}

/* Center the thumb within the placeholder column. The thumb has a
28vh / 220px cap so it shrinks well below the surrounding full-width
column at narrow viewport heights; pinning at flex-start would leave
a visible empty gap on the right. Centering keeps it balanced
regardless of column width — applies to all placeholder variants
(browser-build placeholder, login, Claude install, Claude login). */
.ai-placeholder .ai-intro-video-thumb {
max-height: ~"min(220px, 28vh)";
max-width: ~"calc(min(220px, 28vh) * 16 / 9)";
align-self: flex-start;
align-self: center;
}

.ai-placeholder-cards {
Expand Down
1 change: 1 addition & 0 deletions test/SpecRunner.html
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@
'phtauri://localhost': true, // tauri prod app
'https://phtauri.localhost': true, // tauri
'https://phcode.live': true, // phcode prod live preview server
'https://ai-panel-onboarding.phcode.dev': true, // Ai panel onboarding iframes
'https://phcode.dev': true,
'https://dev.phcode.dev': true,
'https://staging.phcode.dev': true,
Expand Down
Loading