-
Notifications
You must be signed in to change notification settings - Fork 477
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
sidebar overflow problem #246
Comments
Yes, I knew about this but forgot to file an issue 🙈. Thanks for reporting it.
on Just assigned this issue to you. Thanks for looking into this 👍 |
I fixed the overlay bug in #251. |
To fix the 3rd bug, just set a min-height on the button container, not height. This way the text will flow accordingly to the length of the translation ;) |
Ok, thanks for the info, looking into this later today. |
Thanks, @SkyzohKey 👍 |
Thanks @hql287 ! I also saw your post about Manta! Spectrum is kind of great. Anyway great work you put here with Manta 😇 |
So, (2) and (3) are caused by the same problem. the sidebar is currently a flexbox, if the elements exceed the defined height of 100%, they get squished. and the multiple scrollbars are shown because of the overflow of the squished elements. Fix A Fix B for this the sidebar also should get a bit wider. or maybe make it wider in any case? :) |
@hql287 Whats the current behavior on macOS, if the window is that small? Maybe you have to enable german to get similar problems ... I think one can use Or one could redesign the sidebar to save lots of space, but i think you designed it to look like macOS so thats maybe the last you want. |
Nope. Just set |
@SkyzohKey did you test this on windows and linux? short answer: it doesn't work for me. tested this already. you can change the way the flexbox items resize, but there's of course still to many content for the viewport height if the window is resized to a small one. so, if not the buttons another element in the sidebar gets squished. you have to handle the overflow in some way. but, if you want to promote a PR thats working for you i can test it under linux and windows. |
ha, i totally forgot but that would mean a scrollbar inside the sidebar, so a wider sidebar would be necessary/better, i think. and yes there would be two separate scrollbars for sidebar and preview, but just for small windows and a part of the users not all. that wouldn't be the case with the |
Just set |
@jens-t Are those the shortest German translation for "Export PDF" and "Save Configs"? |
@hql287 For the checkbox label, set the line-height to something small, then on the label+checkbox container apply alignItem: 'center'. I guess it should work. I'll make a PR fixing the visual glitches ;) |
So, it's a general sidebar overflow problem for all os.
You could drop the "als", but thats not really a solution, is it? :)
@SkyzohKey Can you please open a new issue for this, thanks! @hql287 what do you think about the possible fixes, which way is better in your opinion? |
Alright, let's take some time to clearly address the problems that we're trying to dealing with here. From the way I see it, there're currently 2 issues with the sidebar left to fix:
Possible solutions For the first problem, we have 2 possible fixes:
For the second problem, we also have 2 possible fixes:
My Opinion
So I would like to propose other possible solutions:
Or better yet:
What do you guys think? |
Thanks for the feedback! :)
For me that is no problem, that's what we want, or? First Problem Second Problem
the content should never dictate the width of an block element. in my opinion the width of the sidebar has to stay fixed, just a bit wider, cause the space is there in most cases. And i don't think text breaking to the next line is a problem, even in buttons, thats how it works. You can design for that case. no problem. So my proposal would be a few em's more for the default fixed width, thats it :) And design the sidebar elements in a more fluid way, what is already the case for most elements in the sidebar.
(1) I personally think that's not a good idea. it's more a dark pattern for me. maybe just design these cases. Also for "a more space sensitive design for some sidebar elements", we should open a new issue or PR. Otherwise the discussion get's a bit confusing. |
@SkyzohKey: That would be great! And thanks for the encouragement earlier 👍
Yes, I would like to make sure it can keep all the translation in one line. It's more of a concern over the aesthetic aspect rather than functionality.
Yes, that's what I thought earlier because they seem very similar to me.
|
I just found a perfect example that illustrates this: Notice how the |
Already proposed this solution at the beginnning of the thread 😄
So, yes, i also think this behavior fits for this problem, will make a working version of this as part of the pull request. In your example the background color of the sticky actions container isn't the same as the bg color of the sidebar, i think that's important and it is what i meant with:
multiline sidebar items
That means:
is still on the table and your desired behavior for the width of the sidebar? Would then also include this in the PR ... so basically width auto for the sidebar ... |
Regarding the second issue I agree, let's make another feature request/enhancement for this.
So I guess that's left us with the only solution to make the sidebar wider. I just tried to increase to |
I add some screenshots to the PR, with different languages and widths ... |
Oh really, haha. Sorry, must have missed that. But I'm glad we came to the same solution.👍
Yeah, this should be a simple fix, even a top border will do as well. |
Not really a great fan of borders, they look so 2000 😆 but yeah would work as well! :) |
Fixed here: #257 |
Found some design bugs on linux, probably also showing on macOS and windows ...
(1) the pathfield in the invoice tab of the settings overlays notifications popups:
(2) preview window has still multiple scrollbars, if it gets too small:
(3) if the preview window gets too small the buttons collapse and the buttontext overflows:
@hql287 you can assign this to me ...
Feedback about these bugs on windows and macOS would be nice!
The text was updated successfully, but these errors were encountered: