Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Commit

Permalink
🐛 Fix padding
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinG committed May 11, 2021
1 parent b069151 commit 83160c6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/modules/ps_customtext/ps_customtext.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="card content-style mt-5">
{$cms_infos.text nofilter}
</div>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<section class="mt-16">
<h2 class="text-xl text-center font-bold mb-8">
<section class="mt-10 w-full">
<h2 class="text-xl text-center font-bold mb-5">
{l s='Popular Products' d='Shop.Theme.Catalog'}
</h2>
{include file="catalog/_partials/productlist.tpl" products=$products}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/catalog/_partials/productlist.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{if $page.page_name == 'index' || $page.page_name == 'cart' || $page.page_name == 'order-confirmation' || $page.page_name == 'search'}
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-5 px-5" itemscope
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-5" itemscope
itemtype="https://schema.org/ItemList">
{foreach from=$products item="product" key="position"}
{include file="catalog/_partials/miniatures/product.tpl" product=$product position=$position}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/checkout/cart.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{/block}
</div>

<div class="w-full md:w-3/12 px-5">
<div class="w-full md:w-3/12 md:pl-5">

{block name='cart_summary'}
<div class="bg-gray-100 p-2 md:p-5 rounded">
Expand Down
2 changes: 1 addition & 1 deletion src/templates/layouts/layout-both-columns.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{include file='_partials/breadcrumb.tpl'}
{/block}

<div class="flex w-full flex-wrap">
<div class="flex w-full flex-wrap px-5 md:px-0">
{block name="left_column"}
<div id="left-column" class="hidden lg:flex flex-col w-full sm:w-4/12 md:w-3/12 p-5">
{if $page.page_name == 'product'}
Expand Down
1 change: 1 addition & 0 deletions src/theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ global_settings:
displayHome:
- ps_imageslider
- prestablog
- ps_customtext
- ps_featuredproducts
displayFooter:
- ps_contactinfo
Expand Down

0 comments on commit 83160c6

Please sign in to comment.