-
Notifications
You must be signed in to change notification settings - Fork 10
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
Maintain 12 columns per row in the layout #4065
base: main
Are you sure you want to change the base?
Conversation
This fixes the problem where the subheader was not aligning with the toolbar.
ebb13c9
to
d810836
Compare
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.
@dnoneill I don't understand what you are asking me to do. |
@jcoyne If you look at this branch the margins for the record view on a screen 952px don't look even. I think at a larger size there probably isn't a need for the margin-right css variable. I think we are going to want to mirror what is on production for some of the larger screen sizes. From around 822px to around 970px margins look a little odd and off balance (right much larger than left). |
I think that's the change that was necessary so that the mini-menu doesn't collide with the stuff in the middle. I'm not sure how to have it both ways. |
@dnoneill that feels like we're not taking advantage of all the available real-estate, making the design look more cramped than necessary. |
@dbranchini Do you have an opinion on this? |
Out of all of the screenshots, I like the third example best, but I also see Justin's point and wonder if the left and right margins could be smaller. I suppose they can't because you're providing room for the side toolbar. In an ideal world, I'd prefer that the side toolbar overlap the content or (even better) was collapsible into a single button (like Material's floating action button). When I look at it on my phone in production, it does seem to overlap some content (not consistently), but there also seems to be a horizontal scroll too? The up/down button on the search results page also seems to overlap content. |
This fixes the problem where the subheader was not aligning with the toolbar.
The previous margin was added #654 to keep the leftside mini-toolbar from crashing into the panels. But we can accomodate for this by setting the right-margin of the rows in the content.
Before:
After:
This also prevents these bugs, where the toolbar or browsing can get stuck under the mini-menu.
Approved by Darcy https://stanfordlib.slack.com/archives/G018TJ20XGE/p1709655061981309?thread_ts=1709654314.383919&cid=G018TJ20XGE