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

fix: banner alignment #121

Merged
merged 2 commits into from
Mar 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/wmcads/components/link/link/_link.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
{% set class = ' ' + params.classModifiers if params.classModifiers %}
{% set class = class + " wmcads-link--with-chevron" if params.withChevronLeft or params.withChevronRight else class %}

{% if params.withReadMore -%}
<div class="collapse {{params.copyName}}">
{{copy | safe}}
</div>
{%- endif %}

<a href="{{ link }}" title="{{ linkTitle }}" target="{{ linkTarget }}" class="wmcads-link{{class}} {% if params.withReadMore %}hvr-icon-hang{% endif %}" {% if linkRel %}rel="{{linkRel}}"{% endif %} {% if params.withReadMore %}data-toggle="collapse" data-target=".collapse.{{params.copyName}}" data-text="collapse" aria-expanded="false" data-html-text="View more" {% endif %}>
{% if params.withChevronLeft -%}
Expand Down
2 changes: 1 addition & 1 deletion src/wmcads/patterns/banner/_banner.njk
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
linkTarget: '_blank'
}) | indent(6) | trim
}}
will help us to improve it.
&nbsp;will help us to improve it.
</p>
{%- endif %}
</div>
Expand Down
1 change: 1 addition & 0 deletions src/www/_layouts/layout-fullwidth.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% extends "www/_layouts/_master-layout.njk" %}

{% block body %}
<br>
<h1 id="wmcads-main-content">{{ pageTitle | safe}}</h1>
<hr>
<div class="wmcads-grid" >
Expand Down