[chore] minor fixes

Signed-off-by: alok8bb <alok8bb@gmail.com>
This commit is contained in:
alok8bb 2022-12-04 22:24:55 +05:30
parent fd20917409
commit 93b6fab121
No known key found for this signature in database
3 changed files with 10 additions and 3 deletions

View File

@ -11,12 +11,11 @@ const BottomBar: FunctionComponent<propTypes> = props => {
display: "flex",
alignItems: "center",
justifyContent: "space-between",
paddingInline: "20px",
paddingInline: "15px",
}}
className="BottomBar">
<a
style={{
fontSize: "1.1rem",
color: "#D9F8C4",
cursor: "pointer",
textDecoration: "none",
@ -72,7 +71,7 @@ const linkStyle = {
const listStyle = {
marginInline: "10px",
listStyle: "none",
fontSize: "1rem",
fontSize: "2vh",
};
const Separator = () => (

View File

@ -1,3 +1,4 @@
import { EditorView } from "@codemirror/view";
import CodeMirror from "@uiw/react-codemirror";
import { FunctionComponent } from "react";
import Theme from "./EditorTheme";
@ -24,6 +25,7 @@ const Editor: FunctionComponent<propTypes> = props => {
editable={props.editable}
readOnly={props.readonly}
theme={Theme}
extensions={[EditorView.lineWrapping]}
/>
);
};

View File

@ -12,4 +12,10 @@ body {
#root {
height: 100vh;
}
@media screen and (max-width: 600px) {
#root {
height: 93vh;
}
}