Fix/issues 679 and 680 (#718)

* fix: increases max height of product description

* fix: change link style for pages
This commit is contained in:
Sarahshr 2024-07-31 08:51:07 +02:00 committed by Hugo Nicolas
parent 20251f6caf
commit 7fd21b6dda
No known key found for this signature in database
GPG key ID: 09CB3D93EB8B0E61
4 changed files with 8 additions and 25 deletions

View file

@ -45,7 +45,7 @@
} }
&.less { &.less {
max-height: 500px; max-height: 1000px;
transition: max-height .3s ease-in-out; transition: max-height .3s ease-in-out;
} }
} }

View file

@ -109,30 +109,13 @@
} }
} }
p > strong { .page-content {
> a { a {
color: $blue-500;; color: $blue-500;;
position: relative;
text-decoration: none; text-decoration: none;
transition: .5s; }
a:hover {
&:after { text-decoration: underline;
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;
}
} }
} }

View file

@ -68,7 +68,7 @@ App\Entity\Page:
<p>&nbsp;</p> <p>&nbsp;</p>
<hr /> <hr />
<h2>D&eacute;p&ocirc;t</h2> <h2>D&eacute;p&ocirc;t</h2>
<p>Toutes les informations sur le projet et le code sont disponibles sur <strong><u><a href="https://github.com/Apes-HDF/EBS">le d&eacute;p&ocirc;t public</a></u></strong>.</p> <p>Toutes les informations sur le projet et le code sont disponibles sur <strong><a href="https://github.com/Apes-HDF/EBS">le d&eacute;p&ocirc;t public</a></strong>.</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<hr /> <hr />
<h2>D&eacute;mo</h2> <h2>D&eacute;mo</h2>

View file

@ -5,7 +5,7 @@
{% block title %}{{ page is not null ? page.name : brand }}{% endblock %} {% block title %}{{ page is not null ? page.name : brand }}{% endblock %}
{% block body %} {% block body %}
<div class="px-3 px-lg-0 mt-4"> <div class="px-3 px-lg-0 mt-4 page-content">
{% if page is not null %} {% if page is not null %}
{{ page.content|raw }} {{ page.content|raw }}
{% else %} {% else %}