chg: reduce spacing between article thumbnails on small screens (< 430px)
This commit is contained in:
@@ -463,4 +463,8 @@ div.megamenu ul.megamenu li.megamenu.level1
|
||||
font-size: 0.8em;
|
||||
height: 36px;
|
||||
}
|
||||
.shelve-slide {
|
||||
padding-left: 0.15rem !important;
|
||||
padding-right: 0.15rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="row">
|
||||
<div class="col-11 mx-auto shelve_slider_{{ $shelve['id'] }} slider">
|
||||
@foreach ($shelve['articles'] as $name => $article)
|
||||
<div class="text-center pr-2 pl-2">
|
||||
<div class="text-center pr-2 pl-2 shelve-slide">
|
||||
<a class="green" href="{{ route('Shop.Articles.show', ['id' => $article['id']]) }}">
|
||||
<img data-lazy="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}"
|
||||
class="d-block w-100 rounded" alt="{{ $name }}" />
|
||||
|
||||
Reference in New Issue
Block a user