add settings form to codemirror example
This commit is contained in:
parent
9474ed7d85
commit
72d1f129cf
4 changed files with 160 additions and 24 deletions
|
|
@ -2,6 +2,13 @@
|
|||
--foreground: white;
|
||||
}
|
||||
|
||||
body,
|
||||
input {
|
||||
font-family: monospace;
|
||||
background: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
html,
|
||||
body,
|
||||
#code,
|
||||
|
|
@ -11,3 +18,16 @@ body,
|
|||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.settings {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
display: flex-col;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.settings > form > * + * {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue