Skip to content

Commit 26499e0

Browse files
committed
add missing uncompiled scss and js
1 parent 346ac15 commit 26499e0

5 files changed

Lines changed: 34 additions & 17 deletions

File tree

js/src/sidebar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ export class Sidebar extends ResizeAware(ts.Motion) {
9898
super(elem);
9999
this.elem = elem;
100100
this.min_width = elem.data('min-width') || 115;
101-
elem.css('width', this.sidebar_width + 'px');
101+
const width = Math.max(this.min_width, this.sidebar_width);
102+
elem.css('width', width + 'px');
102103

103104
this.moving = false;
104105
this.trigger_event = this.trigger_event.bind(this);

scss/sidebar.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,3 +263,17 @@
263263
}
264264
}
265265
}
266+
267+
/* Static sidebar - overlays content instead of pushing it */
268+
#sidebar_left.static, #sidebar_right.static {
269+
position: absolute;
270+
z-index: 10;
271+
top: 0;
272+
bottom: 0;
273+
}
274+
#sidebar_left.static {
275+
left: 0;
276+
}
277+
#sidebar_right.static {
278+
right: 0;
279+
}

src/cone/app/browser/static/cone/cone.app.css

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -450,20 +450,6 @@ tr.selectable td {
450450
max-height: 100%;
451451
user-select: none;
452452
}
453-
454-
/* Static sidebar - overlays content instead of pushing it */
455-
#sidebar_left.static, #sidebar_right.static {
456-
position: absolute;
457-
z-index: 10;
458-
top: 0;
459-
bottom: 0;
460-
}
461-
#sidebar_left.static {
462-
left: 0;
463-
}
464-
#sidebar_right.static {
465-
right: 0;
466-
}
467453
#sidebar_left ul.list-group, #sidebar_left ul.list-group li, #sidebar_right ul.list-group, #sidebar_right ul.list-group li {
468454
background-color: inherit;
469455
}
@@ -675,6 +661,22 @@ tr.selectable td {
675661
}
676662
}
677663

664+
/* Static sidebar - overlays content instead of pushing it */
665+
#sidebar_left.static, #sidebar_right.static {
666+
position: absolute;
667+
z-index: 10;
668+
top: 0;
669+
bottom: 0;
670+
}
671+
672+
#sidebar_left.static {
673+
left: 0;
674+
}
675+
676+
#sidebar_right.static {
677+
right: 0;
678+
}
679+
678680
.table_length, .table_filter {
679681
width: unset;
680682
}

src/cone/app/browser/static/cone/cone.app.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cone/app/browser/static/cone/cone.app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)