Skip to content

Commit 434cb62

Browse files
committed
Website: CSS Tweaks
1 parent 32ad567 commit 434cb62

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

packages/playground/website/src/components/browser-chrome/index.tsx

+6-5
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@ export default function BrowserChrome({
3232
const addressBarClass = classNames(css.addressBarSlot, {
3333
[css.isHidden]: !showAddressBar,
3434
});
35-
const wrapperClass = classNames(css.wrapper, css.hasFullSizeWindow, className);
35+
const wrapperClass = classNames(
36+
css.wrapper,
37+
css.hasFullSizeWindow,
38+
className
39+
);
3640

3741
return (
38-
<div
39-
className={wrapperClass}
40-
data-cy="simulated-browser"
41-
>
42+
<div className={wrapperClass} data-cy="simulated-browser">
4243
<div className={`${css.window} browser-chrome-window`}>
4344
<header
4445
className={`

packages/playground/website/src/components/site-manager/blueprints-panel/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export function BlueprintsPanel({
142142
style={{ paddingBottom: 10 }}
143143
>
144144
{mobileUi && (
145-
<FlexItem>
145+
<FlexItem style={{ marginLeft: -17 }}>
146146
<Button
147147
variant="link"
148148
label="Back to sites list"

packages/playground/website/src/components/site-manager/index.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ export const SiteManager = forwardRef<
6868
if (fullScreenSections) {
6969
return (
7070
<div className={classNames(css.siteManager, className)} ref={ref}>
71-
{activeSiteManagerSection === 'sidebar' ? sidebar : activePanel}
71+
{activeSiteManagerSection === 'sidebar' || !activePanel
72+
? sidebar
73+
: activePanel}
7274
</div>
7375
);
7476
}

packages/playground/website/src/components/site-manager/site-info-panel/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export function SiteInfoPanel({
105105
style={{ paddingBottom: 10 }}
106106
>
107107
{mobileUi && (
108-
<FlexItem>
108+
<FlexItem style={{ marginLeft: -20 }}>
109109
<Button
110110
variant="link"
111111
label="Back to sites list"

0 commit comments

Comments
 (0)