-
Notifications
You must be signed in to change notification settings - Fork 156
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
feat: adjust tile sizes #10558
feat: adjust tile sizes #10558
Conversation
IHMO we should also limit the max tile size. It's too big to make sense |
you mean the design tokens / css vars? base size and step size? what do you think are reasonable values? Steps are limited to 6, i.e. with the defaults that we now have in the design tokens the max tile size is |
As long as that's not your only option to display space tiles at all... I don't see the issue honestly. |
Yeah I found the issue. In the spaces view it renders 1 tile in the same display resolution and tile size setting and in the personal/files view it renders 2 tiles. There is also an issue with the tile size stays the same just the inner icon size changes on smaller screens between some tiles view size steps 🤷♀️ Feels a little inconsistent overall but maybe scope creep |
uh... sounds worth fixing. can you provide detailed steps to reproduce? then I can tackle it in this PR as well maybe. |
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.
LGTM (aside from the issues Alex was mentioning) 👍
7fbd85d
to
9ef7e7d
Compare
9ef7e7d
to
1706e05
Compare
Fixed :-) |
Unfortunately not for me :( icons are not resizing anymore, but as well tiles stay the same size Screen.Recording.2024-03-12.at.20.37.47.mov |
@AlexAndBear could you please test again? :-) slider max value now gets adjusted according to max available steps calculated in the tiles view. |
6304e19
to
31f97ba
Compare
31f97ba
to
75336dc
Compare
Quality Gate passedIssues Measures |
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.
I love it ! 😮
Description
Played around with tile sizes... stepping from one tile size to the next was too big.
Previously we had 9rem as base tile size and added 9rem for every step in the tile size slider.
Now we have 10rem as base tile size and add 6rem for every step in the tile size slider.
Related Issue
Screenshots:
new default tile size (the second stepping, slighty smaller than before: now 16rem, before 18rem)
new smallest tile size (the first stepping, slightly bigger than before: now 10rem, before 9rem)
Types of changes