From 7fd21b6dda33c97efee7c8d100c444cbead3585e Mon Sep 17 00:00:00 2001 From: Sarahshr <51380592+Sarahshr@users.noreply.github.com> Date: Wed, 31 Jul 2024 08:51:07 +0200 Subject: [PATCH] Fix/issues 679 and 680 (#718) * fix: increases max height of product description * fix: change link style for pages --- assets/styles/_product.scss | 2 +- assets/styles/_utilities.scss | 27 +++++---------------------- fixtures/test/page.yaml | 2 +- templates/cms/page.html.twig | 2 +- 4 files changed, 8 insertions(+), 25 deletions(-) diff --git a/assets/styles/_product.scss b/assets/styles/_product.scss index 528883b..8472e7c 100644 --- a/assets/styles/_product.scss +++ b/assets/styles/_product.scss @@ -45,7 +45,7 @@ } &.less { - max-height: 500px; + max-height: 1000px; transition: max-height .3s ease-in-out; } } diff --git a/assets/styles/_utilities.scss b/assets/styles/_utilities.scss index 9aab182..a9bde42 100644 --- a/assets/styles/_utilities.scss +++ b/assets/styles/_utilities.scss @@ -109,30 +109,13 @@ } } -p > strong { - > a { +.page-content { + a { color: $blue-500;; - position: relative; text-decoration: none; - transition: .5s; - - &:after { - background-color: $blue-500; - content: ""; - height: 2px; - left: 0; - position: absolute; - top: 100%; - transform: scaleX(0); - transform-origin: right; - transition: transform .5s; - width: 100%; - } - - &:hover:after { - transform: scaleX(1); - transform-origin: left; - } + } + a:hover { + text-decoration: underline; } } diff --git a/fixtures/test/page.yaml b/fixtures/test/page.yaml index 54fd53f..117f596 100644 --- a/fixtures/test/page.yaml +++ b/fixtures/test/page.yaml @@ -68,7 +68,7 @@ App\Entity\Page:
Toutes les informations sur le projet et le code sont disponibles sur le dépôt public.
+Toutes les informations sur le projet et le code sont disponibles sur le dépôt public.