Foundation-sites: $enable-cite-block is missing !default from scss

Created on 7 May 2020  ·  3Comments  ·  Source: foundation/foundation-sites

What should happen?

According to docs, it should be possible to disable styling of <cite>…</cite> tag using $enable-cite-block in _settings.scss.

What happens instead?

Foundation framework styles <cite>…</cite> tag regardless of the value of $enable-cite-block

Possible Solution

File scss/typography/_base.scss on the L200 is missing !default.

Test Case and/or Steps to Reproduce (for bugs)

How to reproduce:

  1. git clone https://github.com/alexkuc/foundation-sites-cite-block-bug
  2. yarn
  3. yarn build
  4. yarn start or use alternative hosting such as nginx or apache
  5. navigate to http://localhost:8888/ in order to open index.html which should be:

Screenshot 2020-05-07 20 55 56

but instead it is:

Screenshot 2020-05-07 20 56 11

Context

Not possible to disable formatting of <cite>…</cite> so I guess the context is typograhpy / custom css?

Your Environment

Checklist

  • [x] I have read and follow the CONTRIBUTING.md document.
  • [x] There are no other issues similar to this one.
  • [x] The issue title and template are correctly filled.
Typography scss 🐛bug

All 3 comments

Hi @alexkuc,

thanks for the hint. It seems it slipped through in https://github.com/foundation/foundation-sites/commit/c9fd9d7344cf3b391af75d5cf1d55dee8cd60282

And the same applies to $enable-code-inline.
Do you want to provide a PR which fixes this?

@DanielRuf I have created PR #12073. I hope I followed the format of the guidelines correctly (template and CONTRIBUTING.md). If I made a mistake, please let me know so I can fix it. Thank you!

@alexkuc thank you for your contribution. I will check this when I find some time.

Was this page helpful?
0 / 5 - 0 ratings