Skip to content
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

Don't render empty SDG tag list div #4683

Merged
merged 1 commit into from
Oct 4, 2021
Merged

Don't render empty SDG tag list div #4683

merged 1 commit into from
Oct 4, 2021

Conversation

javierm
Copy link
Member

@javierm javierm commented Aug 29, 2021

References

  • We don't render empty regular tags since commit 4d27bbe

Objectives

  • Avoid adding an empty <div class="sdg-tag-list"> tag, which might have associated styles (in custom CONSUL installation styles, for instance) and thus break the layout

@javierm javierm added the SDG United Nations Sustainable Development Goals label Aug 29, 2021
@javierm javierm self-assigned this Aug 29, 2021
The same way we don't render empty regular tags since commit 4d27bbe.

This way we avoid adding an empty `<div class="sdg-tag-list">` tag,
which might have associated styles (in custom CONSUL installation
styles, for instance) and thus break the layout
@javierm javierm merged commit adaa9c0 into master Oct 4, 2021
@javierm javierm deleted the empty_sdg_tags branch October 4, 2021 14:07
taitus added a commit that referenced this pull request Nov 3, 2021
In this PR (#4683) a new syntax was introduced
in the component specs to check that the component was not rendering.
It seems interesting to add this syntax to the rest of the cases and thus unify the way
we check that a component is not rendering.
taitus added a commit that referenced this pull request Nov 4, 2021
In this PR (#4683) a new syntax was introduced
in the component specs to check that the component was not rendering.
It seems interesting to add this syntax to the rest of the cases and thus unify the way
we check that a component is not rendering.
muki pushed a commit to danesjenovdan/consul that referenced this pull request Jan 4, 2022
In this PR (consuldemocracy#4683) a new syntax was introduced
in the component specs to check that the component was not rendering.
It seems interesting to add this syntax to the rest of the cases and thus unify the way
we check that a component is not rendering.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDG United Nations Sustainable Development Goals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants