We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36d1d36 commit 160982aCopy full SHA for 160982a
packages/client/src/projects/ProjectApp.tsx
@@ -79,6 +79,7 @@ export default function ProjectApp() {
79
);
80
81
const [expandSidebar, setExpandSidebar] = useState(!showSidebar);
82
+
83
const { t, i18n } = useTranslation("sidebar");
84
const sidebarTitles: { [key: string]: string } = {
85
maps: t("Maps"),
@@ -173,7 +174,10 @@ export default function ProjectApp() {
173
174
}
175
onClose={() => history.replace(`/${slug}/app`)}
176
dark={dark}
- hidden={Boolean(!showSidebar)}
177
+ hidden={
178
+ Boolean(!showSidebar) ||
179
+ showSidebar?.params["sidebar"] === "embed"
180
+ }
181
noPadding={
182
/sketches/.test(history.location.pathname) ||
183
/forums/.test(history.location.pathname) ||
0 commit comments