Skip to content

ER: Change h2 {margin-top: 48px;} SCSS to only apply on Privacy Policy page #4794

@JessicaLucindaCheng

Description

@JessicaLucindaCheng

Emergent Requirement - Problem

  • In _sass/components/_privacy-policy.scss 1, within the @media #{$bp-desktop-up}, on lines 52-54, this is the SCSS:
      h2 {
        margin-top: 48px;
      }
    
    • This SCSS snippet above should only be applied to the Privacy Policy page 2.
  • Currently, the SCSS snippet above is being applied to h2 HTML elements across the Hack for LA website when the screen is desktop width, which is a problem. Examples of the problem are on each project's detailed page (e.g. 311 Data 3) and the Join Us page 4.
    Click here to see a gif showing the problematic gap on the 311 Data page and Join Us page

Issue you discovered this emergent requirement in

  • Not applicable

Date Discovered

2023-Jun-09

Did you have to do something temporarily

  • YES
  • NO

Who was involved

@JessicaLucindaCheng

What happens if this is not addressed

The large gap above h2 elements will remain and may look a bit weird to visitors/viewers of the site.

Recommended Action Items

  • Make a new issue to fix the problem discussed in the "Emergent Requirement - Problem" section above

Potential solutions [draft]

Resources

Footnotes

  1. _sass/components/_privacy-policy.scss: https://github.com/JessicaLucindaCheng/website/blob/gh-pages/_sass/components/_privacy-policy.scss

  2. Privacy Policy page: https://www.hackforla.org/privacy-policy

  3. 311 Data page: https://www.hackforla.org/projects/311-data

  4. Join Us page: https://www.hackforla.org/join

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingComplexity: MediumComplexity: See issue making labelSee the Issue Making label to understand the issue writing difficulty levelEREmergent RequestIssue Making: Level 2Make issue(s) from an ER or EpicP-Feature: Join Pagehttps://www.hackforla.org/joinP-Feature: Privacy Policyhttps://www.hackforla.org/privacy-policyP-Feature: Project Info and PageA project's detail page (e.g. https://www.hackforla.org/projects/100-automations)ready for dev leadIssues that tech leads or merge team members need to follow up onrole: front endTasks for front end developerssize: 1ptCan be done in 4-6 hourstime sensitiveNeeds to be worked on by a particular timeframe

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions