-
Notifications
You must be signed in to change notification settings - Fork 362
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
Category tab margin #7279
base: master
Are you sure you want to change the base?
Category tab margin #7279
Conversation
Should i make the indicator on the side full-height? |
I would suggest adding the sidebar changes from #7214 since it's unlikely to be merged any time soon.
Maybe, but I think it also looks fine the way it is now. |
…ScratchAddons into Expand-Theme-Button-Area
Can we just make it wider? Adding a margin reduces the click area, read Fitts' law. |
However, your cursor generally isn't in the leftmost part of the tab, so it doesn't have to move any further. Also, the margin only slightly decreases the clickable area and therefore shouldn't have a large impact on clickability. Good UIs have find a balance between usability and design and this change will be worth it IMO. |
Can't you just make it wider? |
You could, but it's already plenty wide. |
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.
You're right, the full height bar does look a lot better. Could it be applied to the subcategories too?
You're right, the full height bar does look a lot better. Could it also be applied to the subcategories? |
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.
Seems fine although it does take up a lot of space on smaller screens.
reduce margin a bit? (vote 👍 or 👎 ) |
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 don't like the amount of space this adds - the categories already have a lot of padding. Moving the selection indicator away from the edge instead of adding a margin might be a better solution:
Another option is to keep the margin but reduce the padding by 5px on each side - the result looks similar:
Co-authored-by: Maximouse <51849865+mxmou@users.noreply.github.com>
Resolves #7278
Changes
Margin added, Border radius, and darker color for selected category, taller side indicator
Reason for changes
Better accessibilty as mentioned in #7278
Tests
Microsoft Edge (Chromium)