-
Notifications
You must be signed in to change notification settings - Fork 9
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
VACMS-15967: Fix search bar spacing in Common Tasks Section #1818
Conversation
…the margin 0 property on the element
…ent-build into 15967-homepage-common-tasks-css-fix
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.
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.
Apologies, I should have worded that a bit more clearly; I was only referring to the padding on the right side of the page (for |
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.
@thejordanwood Hi! Can you take a look at this PR env and let me know what you think would be best case forward. Randi and Max have made good points. Let me know what you recommend and I can implement the changes. http://39ffe3b77fc34ce9f5758fa9dd4c0d1e.review.vetsgov-internal/ |
I also want to get @aklausmeier's opinion on this, since this is on the homepage and pretty visible. |
@chriskim2311 I agree with @thejordanwood's spacing suggestions on her 800px annotated mockup. |
@thejordanwood @randimays @aklausmeier After: |
@chriskim2311 I think there are still some spacing issues to address per Jordan's comment. Here are some screenshots at a width right above the 768px breakpoint. Notice the search bar is creeping outside of its intended margin. There also should be 32px of padding on either side of the blue/white split in the middle per Jordan's comment. |
@chriskim2311 and I met about this to talk through the spacing. It looks like the search bar has a minimum width, which prevents us from using 32px of spacing at smaller screen sizes. I'm fine with the smaller spacing between the Search and Top pages sections shown in Chris' recent screenshot. The original problem for this ticket has been solved and the search bar no longer touches the edge of the screen on the left side at certain screen widths. With that in mind, this is approved by me but I would like @aklausmeier's final approval on this before merging. |
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.
Code LGTM; when design gives the green light I think we're good to go!
@thejordanwood @randimays @chriskim2311 This is approved on my end! |
…ent-build into 15967-homepage-common-tasks-css-fix
Summary
Change the margin property to a larger screen size media query so there is enough left hand space for the search bar at certain screen widths
Related issue(s)
FE: VA.gov homepage needs spacing adjustments in the Common Tasks (Search, Top Pages) section va.gov-cms#15967
Testing done
Tested across multiple screen lengths to check for common tasks section spacing issues.
Screenshots
Screen width 1010px.
What areas of the site does it impact?
Homepage
Acceptance criteria