mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
Merge pull request #9919 from Piccirello/webui-sidebar
Show ellipsis when WebUI sidebar is too narrow
This commit is contained in:
commit
a97543d258
2 changed files with 8 additions and 4 deletions
|
@ -410,6 +410,9 @@ div.formRow {
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
display: block;
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filterTitle img {
|
.filterTitle img {
|
||||||
|
@ -430,6 +433,9 @@ ul.filterList {
|
||||||
|
|
||||||
ul.filterList a {
|
ul.filterList a {
|
||||||
display: block;
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.filterList li:hover {
|
ul.filterList li:hover {
|
||||||
|
|
|
@ -97,13 +97,11 @@ window.addEvent('load', function() {
|
||||||
placement: 'left',
|
placement: 'left',
|
||||||
onResize: saveColumnSizes,
|
onResize: saveColumnSizes,
|
||||||
width: filt_w,
|
width: filt_w,
|
||||||
resizeLimit: [100, 300]
|
resizeLimit: [1, 300]
|
||||||
});
|
});
|
||||||
new MochaUI.Column({
|
new MochaUI.Column({
|
||||||
id: 'mainColumn',
|
id: 'mainColumn',
|
||||||
placement: 'main',
|
placement: 'main'
|
||||||
width: null,
|
|
||||||
resizeLimit: [100, 300]
|
|
||||||
});
|
});
|
||||||
|
|
||||||
setCategoryFilter = function(hash) {
|
setCategoryFilter = function(hash) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue