Skip to content

Commit

Permalink
Merge pull request #9919 from Piccirello/webui-sidebar
Browse files Browse the repository at this point in the history
Show ellipsis when WebUI sidebar is too narrow
  • Loading branch information
Chocobo1 authored Nov 27, 2018
2 parents a7c6e87 + 64c20bf commit a97543d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions src/webui/www/private/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,9 @@ div.formRow {
padding-left: 5px;
padding-top: 5px;
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

.filterTitle img {
Expand All @@ -430,6 +433,9 @@ ul.filterList {

ul.filterList a {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

ul.filterList li:hover {
Expand Down
6 changes: 2 additions & 4 deletions src/webui/www/private/scripts/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,11 @@ window.addEvent('load', function() {
placement: 'left',
onResize: saveColumnSizes,
width: filt_w,
resizeLimit: [100, 300]
resizeLimit: [1, 300]
});
new MochaUI.Column({
id: 'mainColumn',
placement: 'main',
width: null,
resizeLimit: [100, 300]
placement: 'main'
});

setCategoryFilter = function(hash) {
Expand Down

0 comments on commit a97543d

Please sign in to comment.