Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show ellipsis when WebUI sidebar is too narrow #9919

Merged
merged 2 commits into from
Nov 27, 2018

Conversation

Piccirello
Copy link
Member

Also allows the WebUI sidebar to be collapsed (dragged to a width of 1).

Before:
screen shot 2018-11-25 at 2 45 30 pm

After:
screen shot 2018-11-25 at 2 45 05 pm

@@ -97,13 +97,11 @@ window.addEvent('load', function() {
placement: 'left',
onResize: saveColumnSizes,
width: filt_w,
resizeLimit: [100, 300]
resizeLimit: [1, 300]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to use a minimum of 1. Mocha treats 0 as it not being set and falls back to 50.

@glassez glassez added the WebUI WebUI-related issues/changes label Nov 26, 2018
@glassez glassez added this to the 4.1.5 milestone Nov 26, 2018
@Chocobo1 Chocobo1 merged commit a97543d into qbittorrent:master Nov 27, 2018
@Chocobo1
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebUI WebUI-related issues/changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants