mirror of
https://github.com/okiba-org/frontend.git
synced 2025-04-20 09:26:55 +00:00
[chore] minor fixes
Signed-off-by: alok8bb <alok8bb@gmail.com>
This commit is contained in:
parent
fd20917409
commit
93b6fab121
@ -11,12 +11,11 @@ const BottomBar: FunctionComponent<propTypes> = props => {
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
justifyContent: "space-between",
|
justifyContent: "space-between",
|
||||||
paddingInline: "20px",
|
paddingInline: "15px",
|
||||||
}}
|
}}
|
||||||
className="BottomBar">
|
className="BottomBar">
|
||||||
<a
|
<a
|
||||||
style={{
|
style={{
|
||||||
fontSize: "1.1rem",
|
|
||||||
color: "#D9F8C4",
|
color: "#D9F8C4",
|
||||||
cursor: "pointer",
|
cursor: "pointer",
|
||||||
textDecoration: "none",
|
textDecoration: "none",
|
||||||
@ -72,7 +71,7 @@ const linkStyle = {
|
|||||||
const listStyle = {
|
const listStyle = {
|
||||||
marginInline: "10px",
|
marginInline: "10px",
|
||||||
listStyle: "none",
|
listStyle: "none",
|
||||||
fontSize: "1rem",
|
fontSize: "2vh",
|
||||||
};
|
};
|
||||||
|
|
||||||
const Separator = () => (
|
const Separator = () => (
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { EditorView } from "@codemirror/view";
|
||||||
import CodeMirror from "@uiw/react-codemirror";
|
import CodeMirror from "@uiw/react-codemirror";
|
||||||
import { FunctionComponent } from "react";
|
import { FunctionComponent } from "react";
|
||||||
import Theme from "./EditorTheme";
|
import Theme from "./EditorTheme";
|
||||||
@ -24,6 +25,7 @@ const Editor: FunctionComponent<propTypes> = props => {
|
|||||||
editable={props.editable}
|
editable={props.editable}
|
||||||
readOnly={props.readonly}
|
readOnly={props.readonly}
|
||||||
theme={Theme}
|
theme={Theme}
|
||||||
|
extensions={[EditorView.lineWrapping]}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -13,3 +13,9 @@ body {
|
|||||||
#root {
|
#root {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 600px) {
|
||||||
|
#root {
|
||||||
|
height: 93vh;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user