-
Notifications
You must be signed in to change notification settings - Fork 5
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
LWS-138: styling tweaks to filters #1032
Conversation
I think it looks nice with the background behind the hits count! Not a fan of the enormous show more/show less buttons. I think it takes too much focus compared to the rest. Some minor comments:
|
|
Ok,
I think we then lose the visual hierarchy that is really good for orientation?
Libris Kat has a neat way of ellipsing each part of the name individually. Can't do that now since it's a single string (used for searching), but maybe we can have it both ways later on somehow... I still think the filter panel should be allowed 320px width as before (on bigger screens maybe), that would in most cases mean one line break instead of 2, which makes a big difference... |
Ah that's also a nice solution!
Feel free to make changes to https://github.com/libris/lxlviewer/blob/develop/lxl-web/tailwind.config.js#L117 but it's very much a balacing act as it also affects what works and doesn't works in other places (e.g. the spacing between the resource images and the rest of the contents on the resource page). Alas, I think 320px is too wide for medium sized screens (see attached screenshot). But I agree that the current state isn't optimal (see second attached screenshot when I zoomed out several steps). We probably need to use clamp I think it would be good to look at it together next design meeting wednesday! |
Something like this could maybe work (as clamp doesn't seem to play along with grid columns):
|
I don't experience any big difference, but yeah, let's discuss next week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
Description
Tickets involved
LWS-138
Summary of changes
Applied some additional styling to the content in the filter panel.
Still doesn't look at all readable some cases, but if truncation isn't an option, we really should give the panel (back) some more width.