Cleanup input -> input-line

This commit is contained in:
Peter Stuifzand 2020-05-17 14:14:40 +02:00
parent 0380238e00
commit 03501280ec
4 changed files with 22 additions and 12 deletions

View File

@ -3933,6 +3933,11 @@
"yallist": "^3.0.2"
}
},
"lunr": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.8.tgz",
"integrity": "sha512-oxMeX/Y35PNFuZoHp+jUj5OSEmLCaIH4KTFJh7a93cHBoFmpw2IoPs22VIz7vyO2YUnx2Tn9dzIwO2P/4quIRg=="
},
"make-dir": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
@ -7155,9 +7160,9 @@
}
},
"wiki-list-editor": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/wiki-list-editor/-/wiki-list-editor-0.3.3.tgz",
"integrity": "sha512-96UF0Es5LRV72ODUMl0aoCnsAZHjn9yf3Vv+3LC0VruZlJaNgNsCQvCmFuzb6c/cBcTDeTETtM41MSpFZlrmlQ==",
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/wiki-list-editor/-/wiki-list-editor-0.3.4.tgz",
"integrity": "sha512-wq+i05MZVad64h8nb+/3W2BIwF2PoJ7SpkKMFjRAcKjFSqPcBewEiascE3cF1v2fy3Q1aiUYuc8xVZHBKQqmZw==",
"requires": {
"dragula": "^3.7.2",
"jquery": "^3.5.1",

View File

@ -14,7 +14,7 @@
"node-sass": "^4.12.0",
"sass-loader": "^7.3.1",
"style-loader": "^1.0.0",
"wiki-list-editor": "^0.3.3"
"wiki-list-editor": "^0.3.4"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",

View File

@ -2,11 +2,11 @@
html { font-family: 'Inter', sans-serif; }
body { font-family: 'Inter', sans-serif; }
input.input { font-family: 'Inter', sans-serif; }
input.input-line { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
html { font-family: 'Inter var', sans-serif; }
body { font-family: 'Inter var', sans-serif; }
input.input { font-family: 'Inter var', sans-serif; }
input.input-line { font-family: 'Inter var', sans-serif; }
}
#editor {
@ -32,9 +32,10 @@ input.input { font-family: 'Inter', sans-serif; }
padding: 2px 0px;
}
input.input,
input.input:active,
input.input:focus {
input.input-line,
input.input-line:active,
input.input-line:focus {
width: 100%;
box-shadow: none;
border: none;
height: initial;

View File

@ -37,11 +37,11 @@
@import url('https://rsms.me/inter/inter.css');
html { font-family: 'Inter', sans-serif; }
body { font-family: 'Inter', sans-serif; }
input.input { font-family: 'Inter', sans-serif; }
input.input-line { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
html { font-family: 'Inter var', sans-serif; }
body { font-family: 'Inter var', sans-serif; }
input.input { font-family: 'Inter var', sans-serif; }
input.input-line { font-family: 'Inter var', sans-serif; }
}
.list-item {
padding: 3px;
@ -81,7 +81,11 @@
background: none;
}
input.input, input.input:active {
.line {
min-height: 24px;
}
input.input-line, input.input-line:active {
border: none;
outline: none;
margin: 0;