diff --git a/public/css/preload-front.css b/public/css/preload-front.css index fa07f80..b527cb9 100644 --- a/public/css/preload-front.css +++ b/public/css/preload-front.css @@ -4190,7 +4190,7 @@ img{ .product ul.more li p:first-of-type{ font-size:18px; } -.product ul.more li p::before{ +.product ul.more li p:first-of-type::before{ top:50%; transform:translateY(-50%); } @@ -4230,7 +4230,7 @@ ul.more li p:first-of-type{ position:relative; font-size:26px; } -ul.more li p::before{ +ul.more li p:first-of-type::before{ content:""; position:absolute; left:-2rem; diff --git a/resources/sass/frontend/_globals.scss b/resources/sass/frontend/_globals.scss index c0a7eef..3f57b17 100644 --- a/resources/sass/frontend/_globals.scss +++ b/resources/sass/frontend/_globals.scss @@ -83,10 +83,11 @@ img { p:first-of-type { font-size: 18px; - } - & p::before { - top: 50%; - transform: translateY(-50%); + + &::before { + top: 50%; + transform: translateY(-50%); + } } } .product .img-bloc { @@ -124,16 +125,17 @@ ul.more { p:first-of-type { position: relative; font-size: 26px; - } - & p::before { - content: ""; - position: absolute; - left: -2rem; - top: 20px; - width: 10px; - height: 10px; - background-color: $color-blue; - border-radius: 50%; + + &::before { + content: ""; + position: absolute; + left: -2rem; + top: 20px; + width: 10px; + height: 10px; + background-color: $color-blue; + border-radius: 50%; + } } .label img { width: 100px; diff --git a/resources/views/front/home.blade.php b/resources/views/front/home.blade.php index ffcb1e8..5049950 100644 --- a/resources/views/front/home.blade.php +++ b/resources/views/front/home.blade.php @@ -102,7 +102,7 @@

{{ $post_home->title}}

{!! clean(nl2br($post_home->text)) !!}

- En savoir plus + {{ __('En savoir plus')}}

diff --git a/resources/views/front/news.blade.php b/resources/views/front/news.blade.php index 3a7333d..f0aa293 100644 --- a/resources/views/front/news.blade.php +++ b/resources/views/front/news.blade.php @@ -5,7 +5,7 @@ @section('content')
-

Les actualités Doux

+

{{ __('Les actualités Doux')}}

Aiguillettes de poulet enrobées d'une chapelure cornflakes Doux sur une planche apéro en bois