Closed RobertaFricker closed 3 years ago
Roberta's Comment Danielle's Comment
@daniellex0 @RobertaFricker Though I'm not sure I completely followed Roberta's comment, from what I saw, the min-width is creating an issue and I don't think min-width needs to be there at all—nothing else changed at other screen sizes when
min-with
was taken out.
- Note: I did not take into account any other pages, as I worked it out via dev tools on the live site, and not through a locally hosted site.
Live site _with_ min-width: 835px
https://user-images.githubusercontent.com/67438372/114829069-7f795e80-9d7f-11eb-8b66-51888b7118d3.movLive site _without_ min-width
https://user-images.githubusercontent.com/67438372/114829129-8d2ee400-9d7f-11eb-8e20-6cbc53c40991.mov@erikaBell - https://github.com/hackforla/website/pull/1406#issuecomment-820183092
I believe @erikaBell is correct that min-width: 835px is not necessary. However, this specific styling is coming from _getting-started-page.scss, and not from 2FA.scss. I am not 100% sure if removing this min-width would mess anything up from the getting-started page - @averdin2 https://github.com/hackforla/website/pull/1406#issuecomment-820685412
@averdin2 @erikaBell Really sorry about the delay- hmmm this is so strange, earlier when I was checking and disabled min-width the accordion seemed to get messed up, but now that I'm testing it everything seems fine... So do you think min-width is not serving any purpose at all?
I will say, it does seem strange that it's min-width. If anything, I'd expect a max-width.. - @daniellex0 https://github.com/hackforla/website/pull/1406#issuecomment-821943465
The comments above are a continuation of the discussion regarding an issue found during this PR between @averdin2 , @erikaBell , @daniellex0 -> https://github.com/hackforla/website/pull/1406
This issue needs clearer direction. It has two labels that are conflicting (design and front end).
@ExperimentsInHonesty I am not sure why a design label was put on this in the first place. This is mostly a front end issue fix. I will take off the design label.
@averdin2 Make a new comment about making the arrows pink from issue #1619
@averdin2 please rewrite the overview to be a user story.
We need to do x for y reason
@averdin2 Bonnie said she will rewrite this issue so that I can start working on it now.
@hackforla/website-merge @JackRichman and I researched Action item #5
(change to pink accordion arrow). The style guide show #fa114f ($color-red) and not pink. It is currently set to #fA114F. I think this may have been a typo/misunderstanding. Recommendation: I think we can disregard this request since the color matches the style guide.
Please see the screenshot below of the Style Guide section of the Figma file:
The current color provided within the style guide is #fa114f ($color-red) which is the what it is currently
@abuna1985 the pink arrows come from this design requirement.
@Aveline-art but its requesting the primary button color...which is red. Which it is.
@Aveline-art And the photo I provided above was from the style guide link (Figma design system file) they provided in that issue comment. The color provided is red, not pink.
Sorry, was meant to be information about where the pink comes from. I actually talked to design about colors a while back and they have internal (and informal) color names that are different from ours. I think the color provided should match the figma.
@JackRichman
Please add update using this template (even if you have a pull request)
If you need help, be sure to either: 1) ask for help at your next meeting, 2) put a "Status: Help Wanted" label on your issue and pull request, or 3) put up a request for assistance on the #hfla-site channel.
You are receiving this comment because your last comment was before Tuesday, August 24, 2021 at 12:03 AM PST.
@abuna1985 I recommend removing the last item from this issue, please tell me if you agree.
- [ ] Fix the incorrect sizing of the accordion that appears on the 2FA page. Because Alyssa is almost done with the design to turn all guide pages into being markdown driven and we will be moving this helpfile to that format.
@alyssabenipayo please review the FAQ accordion shown on the 2FA page and on the getting started page, as we may want to incorporate those into the Guide template. However on the 2FA it seems unwarranted and I could probably put the info into the regular format of the guide.
@ExperimentsInHonesty I think we can either:
Remove it entirely from the 2FA page
It seems like the accordion for the Getting Started Page
is nested in a card with 30px of padding. The accordion for 2FA
is nested in a section-container class that has a left/right padding of 187px and top/bottom padding of 75px. The CSS for the accordion within 2FA needs to account for this. Also, the Figma design of 2FA shows the border under the text instead of under the title.
Figma Design- Guide Pages - 2FA
@JackRichman
Please add update using this template (even if you have a pull request)
If you need help, be sure to either: 1) ask for help at your next meeting, 2) put a "Status: Help Wanted" label on your issue and pull request, or 3) put up a request for assistance on the #hfla-site channel.
You are receiving this comment because your last comment was before Tuesday, August 31, 2021 at 12:02 AM PST.
@JackRichman
Please add update using the below template (even if you have a pull request). Afterwards, remove the 'To Update !' label and add the 'Status: Updated' label.
If you need help, be sure to either: 1) ask for help at your next meeting, 2) put a "Status: Help Wanted" label on your issue and pull request, or 3) put up a request for assistance on the #hfla-site channel.
You are receiving this comment because your last comment was before Tuesday, September 7, 2021 at 12:02 AM PST.
Overview
As a part of the Dev team's efforts to standardize components throughout the website, we need to standardize the accordion component. The JavaScript code needs to be standardized, and some changes with how the JavaScript manipulates the accordion styles needs to be changed. There are also some style issues with the accordion component that need to be fixed. On the 2FA page on the website, the accordion component in the FAQ section stretches farther than the card in the tablet view range.
Action Items
/assets/js/elements/accordion.js
assets/js/elements/accordion.js
, you need to include it into thepages/getting-started.html
andguide-pages/2FA.html
via the script tag like so.<script src="/assets/js/elements/accordion.js" type="module"></script>
. You will place it where the previous<script>
containing the accordion logic was.As per comment https://github.com/hackforla/website/issues/1619#issuecomment-897769443, the accordion arrows need to be made pink in all viewport ranges.Resources/Instructions
Current uses of accordion on website
https://www.hackforla.org/getting-started https://www.hackforla.org/guide-pages/2FA
Relevant files
https://github.com/hackforla/website/blob/gh-pages/_guide-pages/2FA.html https://github.com/hackforla/website/blob/gh-pages/pages/getting-started.html https://github.com/hackforla/website/blob/gh-pages/_sass/components/guide-pages/2FA.scss https://github.com/hackforla/website/blob/gh-pages/_sass/components/_getting-started-page.scss Figma Design 2FA (black border)
Below are screenshots of the behavior of the FAQ section when it's resized above 958 left-right: