Skip to content

Commit

Permalink
spacing around download steps
Browse files Browse the repository at this point in the history
  • Loading branch information
stephaniehobson committed Jul 22, 2024
1 parent 24f8129 commit dc8589e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bedrock/firefox/templates/firefox/all/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ <h2 class="c-step-name{% if not (product and platform and locale) %} t-step-disa
{% endif %}
{% if product.slug.startswith("desktop") %}
{% if platform.startswith("win-store") %}
<p><br>
<p class="c-step-download">
{% set ms_store_product = 'firefox_beta' if product.slug.endswith('beta') else 'firefox' %}
{% set ms_store_href = ms_store_url(product=ms_store_product, campaign='firefox-all') %}
{{ ms_store_button(href=ms_store_href, id='msStoreLink') }}
</p>
{% else %}
<p><br>
<p class="c-step-download">
<a href="{{ download_url }}" id="download-button-primary" class="mzp-c-button mzp-t-product mzp-t-xl c-download-button" data-link-type="download" data-download-location="primary cta">
{{ ftl('download-button-download-now') }} {{ icon_download|safe }}
</a>
Expand Down
2 changes: 1 addition & 1 deletion bedrock/firefox/templates/firefox/all/mobile.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div class="c-mobile">

{% if product.slug.startswith("ios-beta") %}
<p><br>
<p class="c-step-download">
<a href="{{ url('firefox.ios.testflight') }}">{{ ftl('firefox-all-testflight') }}</a>
</p>
{% else %}
Expand Down
4 changes: 4 additions & 0 deletions media/css/firefox/all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ $image-path: '/media/protocol/img';
display: none;
}

.c-step-download {
margin-top: $layout-md;
}

.c-product-list {
padding-left: 36px; // to match the desktop & mobile icons

Expand Down

0 comments on commit dc8589e

Please sign in to comment.