8000 Guides templates have bootstrap classes · Issue #85 · localgovdrupal/localgov_guides · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Guides templates have bootstrap classes #85

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

Open
andybroomfield opened this issue Apr 28, 2022 · 0 comments
Open

Guides templates have bootstrap classes #85

andybroomfield opened this issue Apr 28, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@andybroomfield
Copy link
Contributor

guides-prev-next-block.html.twig contains bootstrap classes btn and carbon.

<nav class="localgov_guides--navigation">
  {% if previous_url %}<a href="{{ previous_url }}" class="btn btn-carbon localgov_guides--previous" aria-label="{{ 'Previous'|t }}: {{ previous_title }}"><span class="fa fa-chevron-left"></span>{{ 'Previous'|t }}</a>{% endif %}
  {% if next_url %}<a href="{{ next_url }}" class="btn btn-primary localgov_guides--next" aria-label="{{ 'Next'|t }}: {{ next_title }}"><span class="fa fa-chevron-right"></span>{{ 'Next'|t }}</a>{% endif %}
</nav>

And the two bundled node templates (node--localgov-guides-page--full.html.twig and node--localgov-guides-overview--full.html.twig) set classes order-1 and row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant
0