Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Commit 876275a

Browse files
author
bhasher
committed
Tab bugfix
1 parent 00fbe67 commit 876275a

File tree

5 files changed

+28
-2
lines changed

5 files changed

+28
-2
lines changed

src/publics/css/base.less

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,28 @@ div#welcome{
146146
pointer-events: none;
147147
}
148148

149+
/******************\
150+
| Report Issue |
151+
\******************/
152+
153+
#report-issue{
154+
position: absolute;
155+
top: 50%;
156+
left: 50%;
157+
min-width: 350px;
158+
max-width: 500px;
159+
height: 500px;
160+
-webkit-transform: translate(-50%, -50%);
161+
transform: translate(-50%, -50%);
162+
color: #111111;
163+
background-color: #d5e6ed;
164+
margin: 0 auto;
165+
padding: 1em;
166+
border-radius: 20px;
167+
border: 1px solid forestgreen;
168+
box-shadow: forestgreen 0 0 10px;
169+
}
170+
149171
/******************\
150172
| Footer |
151173
\******************/

src/publics/js/dev/page/editor/editable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {insertInText} from "/js/dev/utils/string.js";
2121
export default class Editable{
2222
constructor(element) {
2323
this.editable = element;
24-
this.tab = new Tab(element, TabType.SPACES, 2);
24+
this.tab = new Tab(element, TabType.SPACES, 4);
2525
this.linesManager = new LinesManager(element);
2626
this.last_request = {};
2727

src/publics/js/dev/page/editor/key.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* Keys of which do not interpret pushes
1212
*/
13-
const extraKeys = [9, 16, 17, 18, 19, 20, 27, 33, 34, 35, 36, 37, 38, 39, 40, 45, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 144, 145, 225];
13+
const extraKeys = [16, 17, 18, 19, 20, 27, 33, 34, 35, 36, 37, 38, 39, 40, 45, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 144, 145, 225];
1414

1515
export default class Key{
1616

src/views/component/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
<div id="body">
1818
{% include 'component/welcome.html' %}
19+
{% include 'component/report-issue.html' %}
1920
{% block corps %}{% endblock %}
2021
</div>
2122

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div id="report-issue">
2+
Test
3+
</div>

0 commit comments

Comments
 (0)