fix: adapt .project-details textarea height to parent’s height

close #86
This commit is contained in:
Timothée Goguely 2025-01-07 12:14:38 +01:00
parent d8a9447af7
commit 9c39e0b7a6
2 changed files with 7 additions and 2 deletions

View file

@ -194,9 +194,14 @@
.project-details > * {
min-width: 17rem;
}
.project-details__description {
display: flex;
flex-direction: column;
align-self: stretch;
}
.project-details textarea {
resize: none;
max-height: 5rem;
flex-grow: 1;
max-width: calc(100vw - var(--gutter) * 2 - var(--space-32));
}
.project-details__filters button:first-of-type {

View file

@ -12,7 +12,7 @@
name="project-description"
id="project-description"
placeholder="Ajoutez une description générale de votre projet…"
rows="3"
rows="2"
class="border border-grey-200 | rounded-xl | p-16 | w-full"
v-model="page.content.description"
@input="saveDescription()"