Browse Source

Merge pull request #9919 from Piccirello/webui-sidebar

Show ellipsis when WebUI sidebar is too narrow
adaptive-webui-19844
Mike Tzou 6 years ago committed by GitHub
parent
commit
a97543d258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/webui/www/private/css/style.css
  2. 6
      src/webui/www/private/scripts/client.js

6
src/webui/www/private/css/style.css

@ -410,6 +410,9 @@ div.formRow { @@ -410,6 +410,9 @@ div.formRow {
padding-left: 5px;
padding-top: 5px;
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.filterTitle img {
@ -430,6 +433,9 @@ ul.filterList { @@ -430,6 +433,9 @@ ul.filterList {
ul.filterList a {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
ul.filterList li:hover {

6
src/webui/www/private/scripts/client.js

@ -97,13 +97,11 @@ window.addEvent('load', function() { @@ -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) {

Loading…
Cancel
Save