Skip to content

Commit 2e39067

Browse files
authored
[Website] Wider site info on smaller breakpoints (#2830)
## Motivation for the change, related issues Expands site info to fill in the dark area that appears between ~870px and 1126px breakpoints. Before: <img width="2204" height="774" alt="CleanShot 2025-10-28 at 00 28 26@2x" src="https://github.com/user-attachments/assets/0e675bd7-5039-4079-b05d-9c802fc137bf" /> After: <img width="2194" height="776" alt="CleanShot 2025-10-28 at 00 27 27@2x" src="https://github.com/user-attachments/assets/f5fa2c05-b955-4b2b-ba76-bddc742e975b" /> ## Testing instructions Scale your Playground window to the sizes listed above and confirm there's no blank dark area at any point.
1 parent 4aaa448 commit 2e39067

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

packages/playground/website/src/components/layout/style.module.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ body {
134134
* on smaller screens and never overflows out of the screen.
135135
*/
136136
@media (max-width: 1126px) {
137+
:root {
138+
--site-info-panel-max-width: calc(
139+
100vw - (2 * var(--site-manager-border-width)) -
140+
var(--site-manager-site-list-width)
141+
);
142+
}
137143
.site-manager-wrapper + .site-view {
138144
display: none;
139145
}

packages/playground/website/src/components/site-manager/style.module.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@
4141
max-width: var(--site-info-panel-max-width);
4242
}
4343

44+
@media (max-width: 1126px) {
45+
.site-info-resize-handle {
46+
display: none !important;
47+
}
48+
}
49+
4450
.site-info-resize-handle {
4551
position: absolute;
4652
top: 0;

0 commit comments

Comments
 (0)