diff --git a/desktop/sources/left.js b/desktop/sources/left.js index aab3d6c..a5994d2 100644 --- a/desktop/sources/left.js +++ b/desktop/sources/left.js @@ -107,7 +107,7 @@ function Left () { if (this.selection.word.trim() !== '' && this.suggestion && this.suggestion.toLowerCase() !== this.active_word().toLowerCase()) { this.autocomplete() } else { - this.inject('\u00a0\u00a0') + this.inject('\t') } } diff --git a/desktop/sources/links/main.css b/desktop/sources/links/main.css index 49b5f32..327c00e 100644 --- a/desktop/sources/links/main.css +++ b/desktop/sources/links/main.css @@ -4,7 +4,7 @@ ::-webkit-scrollbar { display: none; margin: 0; padding: 0; } -body { height: 100vh; font-family: var(--font-family); font-size: 12px; overflow: auto; transition: background-color 500ms,filter 150ms; overflow: hidden;} +body { tab-size: 2; height: 100vh; font-family: var(--font-family); font-size: 12px; overflow: auto; transition: background-color 500ms,filter 150ms; overflow: hidden;} body navi { display: block;width: calc((100vw / 4) - 40px);left: 0px;position: absolute;padding: 30px 0px 0px 30px; -webkit-user-select: none;-webkit-app-region: drag;overflow: auto;padding-top:30px;transition: opacity 200ms 200ms, translateY 150ms, width 200ms; opacity:1; height: calc(100vh - 120px); padding-bottom: 40px;} body navi li { display: flex; flex-direction: row; justify-content: space-between; align-items: center; line-height: 20px; cursor: pointer; position: relative; -webkit-app-region: no-drag; height:20px;} body navi li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }