Skip to content

Commit af21dd4

Browse files
committed
fix mobile text editor display
1 parent 1ea0d28 commit af21dd4

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/public/javascripts/services/tab_context.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,9 @@ class TabContext {
338338
}
339339

340340
closeAutocomplete() {
341-
this.$tabContent.find('.aa-input').autocomplete('close');
341+
if (utils.isDesktop()) {
342+
this.$tabContent.find('.aa-input').autocomplete('close');
343+
}
342344
}
343345
}
344346

src/views/login.ejs

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
document.cookie = name + "=" + (value || "") + expires + "; path=/";
7373
}
7474
</script>
75-
76-
<link href="libraries/bootstrap/css/bootstrap.min.css" rel="stylesheet">
77-
</body>
75+
76+
<link href="libraries/bootstrap/css/bootstrap.min.css" rel="stylesheet">
77+
</body>
7878
</html>

src/views/mobile.ejs

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@
4949
</div>
5050

5151
<div class="note-detail-component-wrapper">
52-
<div class="note-detail-text note-detail-component" tabindex="10000"></div>
52+
<div class="note-detail-text note-detail-component" tabindex="10000">
53+
<div class="note-detail-text-editor"></div>
54+
</div>
5355

5456
<div class="note-detail-code note-detail-component"></div>
5557

0 commit comments

Comments
 (0)