Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
assets/news_page + use_case_page: removing excess padding on small sc…
Browse files Browse the repository at this point in the history
…reens and aligning elements
  • Loading branch information
Phillippa authored and fuzzylogic2000 committed Oct 15, 2019
1 parent 20920d7 commit 5b6783c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/cms/news/templates/a4_candy_cms_news/news_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% endblock %}

{% block content %}
<div class="cms__wrapper pt-5">
<div class="cms__wrapper py-5">
<div class="container">
<div class="row justify-content-md-center">
<div class="col-12 col-md-10">
Expand All @@ -32,7 +32,7 @@ <h1 class="cms__title--bold cms-page__header-margin">{{ page.subtitle }}</h1>
{{ page.body }}
</div>
</div>
<div class="row justify-content-md-center pt-5 pb-5">
<div class="row justify-content-center pt-5">
<div class="cms__text">
<a href="{{ page.get_parent.url }}" class="btn btn--transparent">{% trans 'Back to overview' %}</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{% endblock %}

{% block content %}
<div class="cms__wrapper pt-5">
<div class="cms__wrapper py-5">
<div class="container">
<div class="row justify-content-md-center">
<div class="col-12 col-md-10">
Expand Down
1 change: 0 additions & 1 deletion liqd_product/assets/scss/components/_cms.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.cms__wrapper {
padding: $padding;
margin-left: $r-spacer;
margin-right: $r-spacer;
background-color: $bg-light;
Expand Down

0 comments on commit 5b6783c

Please sign in to comment.