largeur de la liste étapes

This commit is contained in:
Valentin 2024-11-25 22:02:41 +01:00
parent ef760adb39
commit e346f103e1
2 changed files with 11 additions and 4 deletions

View File

@ -581,6 +581,9 @@ body{
opacity: 1; opacity: 1;
display: block; display: block;
transition: all 0.3s ease-out; transition: all 0.3s ease-out;
@media screen and (min-width: $desktop-min-width) {
max-width: 30vw;
}
&.retracted { &.retracted {
opacity: 0; opacity: 0;
} }
@ -635,7 +638,7 @@ body{
font-family: 'Joost', sans-serif; font-family: 'Joost', sans-serif;
font-weight: lighter; font-weight: lighter;
font-size: $m-font-size-mobile; font-size: $m-font-size-mobile;
align-self: end; align-self: center;
@media screen and (min-width: $desktop-min-width) { @media screen and (min-width: $desktop-min-width) {
font-size: $m-font-size-desktop; font-size: $m-font-size-desktop;
} }

View File

@ -27,5 +27,9 @@
%} %}
<p>{{- output|slice(0, 2) -}}</p> <p>{{- output|slice(0, 2) -}}</p>
{% else %} {% else %}
<p>{{- output -}}</p> {% set split_output = output|split('>') %}
<p>
{{- split_output[0]|raw -}}>
{{- split_output[1]|default('')|replace({'-': ''})|raw -}}>
</p>
{% endif %} {% endif %}