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",
|
||||
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 = () => (
|
||||
|
@ -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]}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
@ -12,4 +12,10 @@ body {
|
||||
|
||||
#root {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
#root {
|
||||
height: 93vh;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user