fix: adapt .project-details textarea height to parent’s height
close #86
This commit is contained in:
parent
d8a9447af7
commit
9c39e0b7a6
2 changed files with 7 additions and 2 deletions
|
|
@ -194,9 +194,14 @@
|
||||||
.project-details > * {
|
.project-details > * {
|
||||||
min-width: 17rem;
|
min-width: 17rem;
|
||||||
}
|
}
|
||||||
|
.project-details__description {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-self: stretch;
|
||||||
|
}
|
||||||
.project-details textarea {
|
.project-details textarea {
|
||||||
resize: none;
|
resize: none;
|
||||||
max-height: 5rem;
|
flex-grow: 1;
|
||||||
max-width: calc(100vw - var(--gutter) * 2 - var(--space-32));
|
max-width: calc(100vw - var(--gutter) * 2 - var(--space-32));
|
||||||
}
|
}
|
||||||
.project-details__filters button:first-of-type {
|
.project-details__filters button:first-of-type {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
name="project-description"
|
name="project-description"
|
||||||
id="project-description"
|
id="project-description"
|
||||||
placeholder="Ajoutez une description générale de votre projet…"
|
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"
|
class="border border-grey-200 | rounded-xl | p-16 | w-full"
|
||||||
v-model="page.content.description"
|
v-model="page.content.description"
|
||||||
@input="saveDescription()"
|
@input="saveDescription()"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue