-
Notifications
You must be signed in to change notification settings - Fork 6
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
Styling improvements for the Analysis results. #671
Comments
I checked out the components standalone app and did some tweaking. Here are some improvements:
I assume the margin/padding around all the components is set globally on the sidebar element? Is it possible to remove it there and add it to each component individually? It's a little cumbersome, but it produces better results for the focus indicator. Update: Andrea mentions this is actually already the case in #653 and #654, so it should here too. |
I'd need the value in pixels for this, as the em one varies depending on the context (standalone app or within the meta box) and i've also made other changes.
Do you mean each group of results or each single item in a group of results? |
I'd say 14 then, just a tad bigger than the default 13px sidebar font size.
Each single item. |
OK but I'd suggest to check it again once it's in the meta box. Right now, with the changes made on #676 the items already have a good spacing (see below). I'm afraid adding more padding will make them way too spaces, but again this needs to be checked in the meta box. |
Ahh yes this looks very good, carry on. |
We need to keep this open to adjust the left and right padding on the StyledSection in the meta box. Now that the analysis has ben changed to have its own left and right paddings, the ones in the StyledSection add too much space. Moving to the queue. |
Split off from #492.
The PR became way too big, and addressing the styling comments in the PR would make it even bigger than it already is.
In the words of @maartenleenders:
The styling in the ContentAnalysis seems to be slightly below our standards, but that is my opinion. I think we'd do well to give everything a little more 'breathing room' with padding/margins. @hedgefield has offered to sit in on a little styling session to improve things. I would also be fine if you split this up into a new issue, as this PR has become quite big.
The text was updated successfully, but these errors were encountered: