first step towards mobile layout

This commit is contained in:
Jon Eugster
2023-07-29 11:54:23 +02:00
parent 1af343f14e
commit ee7915a98f
8 changed files with 144 additions and 87 deletions
+9 -1
View File
@@ -60,7 +60,15 @@ export const ProofStateContext = React.createContext<{
termGoal: undefined,
error: undefined},
setProofState: () => {},
});
})
export const MobileContext = React.createContext<{
mobile : boolean,
setMobile: React.Dispatch<React.SetStateAction<Boolean>>
}>({
mobile : false,
setMobile: () => {},
})
/** Context to keep highlight selected proof step and corresponding chat messages. */
export const SelectionContext = React.createContext<{