mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-01 10:18:35 +08:00
Dev: Features, resources, info tools
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
overflow: scroll;
|
||||
overflow: auto;
|
||||
.tool {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
|
||||
@@ -36,15 +36,9 @@ export default class HomeBtn
|
||||
}
|
||||
_bindEvent()
|
||||
{
|
||||
this._draggabilly.on('staticClick', () => this.emit('click') );
|
||||
this._draggabilly.on('staticClick', () => this.emit('click'));
|
||||
|
||||
window.addEventListener('orientationchange', () =>
|
||||
{
|
||||
setTimeout(() =>
|
||||
{
|
||||
this._setPos();
|
||||
}, 150);
|
||||
}, false);
|
||||
util.orientation.on('change', () => this._setPos());
|
||||
}
|
||||
_makeDraggable()
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#eruda { .dev-tools {
|
||||
.nav-bar {
|
||||
height: 50px;
|
||||
overflow-y: scroll;
|
||||
overflow-y: auto;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
|
||||
Reference in New Issue
Block a user