fix(UI): minimize the fixed contents upper the editor (#54978)

This commit is contained in:
Manabu Matsumoto
2024-06-22 00:47:09 +09:00
committed by GitHub
parent fd1bf0dd5a
commit 2847c7c77a
11 changed files with 243 additions and 51 deletions
+4
View File
@@ -7,6 +7,7 @@ import FourOhFourPage from '../../src/pages/404';
interface LayoutSelectorProps {
element: JSX.Element;
props: {
data: { challengeNode?: { challenge?: { usesMultifileEditor?: boolean } } };
location: { pathname: string };
pageContext?: { challengeMeta?: { block?: string; superBlock?: string } };
};
@@ -37,6 +38,9 @@ export default function layoutSelector({
pathname={pathname}
showFooter={false}
isChallenge={true}
usesMultifileEditor={
props.data?.challengeNode?.challenge?.usesMultifileEditor
}
block={props.pageContext?.challengeMeta?.block}
superBlock={props.pageContext?.challengeMeta?.superBlock}
>