Fix/issues 679 and 680 (#718)
* fix: increases max height of product description * fix: change link style for pages
This commit is contained in:
parent
20251f6caf
commit
7fd21b6dda
4 changed files with 8 additions and 25 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
|
||||||
|
|
||||||
&: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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ App\Entity\Page:
|
||||||
<p> </p>
|
<p> </p>
|
||||||
<hr />
|
<hr />
|
||||||
<h2>Dépôt</h2>
|
<h2>Dépô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épô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épôt public</a></strong>.</p>
|
||||||
<p> </p>
|
<p> </p>
|
||||||
<hr />
|
<hr />
|
||||||
<h2>Démo</h2>
|
<h2>Démo</h2>
|
||||||
|
|
|
||||||
|
|
@ -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 %}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue