chg: reduce article label font size under thumbnails on small screens (< 430px)
This commit is contained in:
@@ -443,6 +443,10 @@ div.megamenu ul.megamenu li.megamenu.level1
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
.shelve-article-label {
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
/* -- Responsive: très petites résolutions (< 430px) -- */
|
||||
|
||||
@media (max-width: 429.98px) {
|
||||
@@ -455,4 +459,8 @@ div.megamenu ul.megamenu li.megamenu.level1
|
||||
.shelve-btn-suffix {
|
||||
display: none;
|
||||
}
|
||||
.shelve-article-label {
|
||||
font-size: 0.8em;
|
||||
height: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<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 }}" />
|
||||
<div style="height: 48px;">
|
||||
<div class="shelve-article-label">
|
||||
{{ $name }}
|
||||
</div>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user