1
0

Style tweaks, update to keyboard shortcuts.

This commit is contained in:
Zef Hemel 2022-04-09 22:43:46 +02:00
parent ebfe62dd49
commit e8547604a1
3 changed files with 8 additions and 6 deletions

View File

@ -332,8 +332,8 @@ export class Editor implements AppEventDispatcher {
}, },
}, },
{ {
key: "Ctrl-.", key: "Ctrl-/",
mac: "Cmd-.", mac: "Cmd-/",
run: (): boolean => { run: (): boolean => {
this.viewDispatch({ this.viewDispatch({
type: "show-palette", type: "show-palette",

View File

@ -7,6 +7,7 @@
.cm-editor { .cm-editor {
font-size: var(--ident); font-size: var(--ident);
//overflow-y: hidden; //overflow-y: hidden;
padding: 0 20px;
.cm-content { .cm-content {
font-family: var(--editor-font); font-family: var(--editor-font);

View File

@ -43,8 +43,9 @@ body {
.inner { .inner {
max-width: $max-editor-width; max-width: $max-editor-width;
margin: auto; margin: auto;
padding-top: 12px;
font-size: 28px; font-size: 28px;
padding: 10px 20px;
.status { .status {
float: right; float: right;
@ -118,12 +119,12 @@ body {
//} //}
#bottom { #bottom {
height: 25px; height: 40px;
line-height: 40px;
padding: 0 10px;
text-align: right; text-align: right;
background-color: rgb(213, 213, 213); background-color: rgb(213, 213, 213);
border-top: rgb(193, 193, 193) 1px solid; border-top: rgb(193, 193, 193) 1px solid;
.inner { .inner {
padding: 5px;
} }
} }