Merge pull request #9919 from Piccirello/webui-sidebar

Show ellipsis when WebUI sidebar is too narrow
This commit is contained in:
Mike Tzou 2018-11-27 21:02:21 +08:00 committed by GitHub
commit a97543d258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -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 {
ul.filterList a {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
ul.filterList li:hover {

View file

@ -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) {