mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2026-06-05 11:59:41 +00:00
Fix style
This commit is contained in:
@@ -19,17 +19,21 @@ html, body
|
||||
margin: 0
|
||||
padding: 0
|
||||
line-height: 1.2
|
||||
|
||||
body
|
||||
white-space: nowrap
|
||||
overflow-x: hidden
|
||||
overflow-y: scroll
|
||||
white-space: nowrap
|
||||
|
||||
::-webkit-scrollbar
|
||||
background: $bg
|
||||
width: .75em
|
||||
height: .75em
|
||||
|
||||
::-webkit-scrollbar-thumb
|
||||
background: rgba($fg, .1)
|
||||
|
||||
::-webkit-scrollbar-thumb:hover
|
||||
background: rgba($fg, .15)
|
||||
|
||||
.terminal
|
||||
outline: none
|
||||
|
||||
2
butterfly/static/ext.min.js
vendored
2
butterfly/static/ext.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -3020,19 +3020,23 @@ html, body {
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 1.2;
|
||||
line-height: 1.2; }
|
||||
|
||||
body {
|
||||
white-space: nowrap;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
white-space: nowrap; }
|
||||
overflow-y: scroll; }
|
||||
|
||||
::-webkit-scrollbar {
|
||||
background: #110f13;
|
||||
width: .75em;
|
||||
height: .75em; }
|
||||
width: .75em; }
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: rgba(244, 234, 213, 0.1); }
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(244, 234, 213, 0.15); }
|
||||
|
||||
.terminal {
|
||||
outline: none; }
|
||||
|
||||
|
||||
@@ -166,6 +166,7 @@
|
||||
while (i--) {
|
||||
div = this.document.createElement('div');
|
||||
div.className = 'line';
|
||||
div.textContent = ' ';
|
||||
this.element.appendChild(div);
|
||||
this.children.push(div);
|
||||
}
|
||||
|
||||
4
butterfly/static/main.min.js
vendored
4
butterfly/static/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -79,6 +79,7 @@ class Terminal
|
||||
while i--
|
||||
div = @document.createElement('div')
|
||||
div.className = 'line'
|
||||
div.textContent = ' '
|
||||
@element.appendChild(div)
|
||||
@children.push(div)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user