Skip to content

Commit

Permalink
fix UX feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ludoboludo committed Mar 10, 2022
1 parent 3808adc commit b044959
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions assets/component-slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ slider-component.page-width {
max-width: none;
}

@media screen and (max-width: 749px) {
slider-component.page-width {
padding: 0 1.5rem;
}
}

@media screen and (min-width: 749px) and (max-width: 990px) {
slider-component.page-width {
padding: 0 5rem;
}
}

@media screen and (max-width: 989px) {
.no-js slider-component .slider {
padding-bottom: 3rem;
Expand Down
3 changes: 2 additions & 1 deletion sections/featured-collection.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
{%- if section.settings.title != blank -%}
<h2 class="title {{ section.settings.heading_size }}">{{ section.settings.title | escape }}</h2>
{%- endif -%}
{%- if section.settings.description != blank or section.settings.show_description -%}

{%- if section.settings.description != blank or section.settings.show_description and section.settings.collection.description != empty -%}
<div class="collection__description {{ section.settings.description_style }}">{%- if section.settings.show_description -%}{{ section.settings.collection.description }}{%- else -%}{{ section.settings.description }}{% endif %}</div>
{%- endif -%}
</div>
Expand Down

0 comments on commit b044959

Please sign in to comment.