fix: align send file and text panel heights
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
<transition name="fade" mode="out-in">
|
<transition name="fade" mode="out-in">
|
||||||
<div v-if="sendType === 'file'" key="file" class="grid grid-cols-1 gap-8">
|
<div v-if="sendType === 'file'" key="file" class="grid grid-cols-1 gap-8">
|
||||||
<FileUploadArea
|
<FileUploadArea
|
||||||
|
class="payload-panel"
|
||||||
:selected-file="selectedFile"
|
:selected-file="selectedFile"
|
||||||
:selected-files="selectedFiles"
|
:selected-files="selectedFiles"
|
||||||
:progress="uploadProgress"
|
:progress="uploadProgress"
|
||||||
@@ -32,7 +33,11 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div v-else key="text" class="grid grid-cols-1 gap-8">
|
<div v-else key="text" class="grid grid-cols-1 gap-8">
|
||||||
<TextInputArea v-model="textContent" :placeholder="t('send.uploadArea.textInput')" />
|
<TextInputArea
|
||||||
|
v-model="textContent"
|
||||||
|
class="payload-panel"
|
||||||
|
:placeholder="t('send.uploadArea.textInput')"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
<ExpirationSelector
|
<ExpirationSelector
|
||||||
@@ -202,6 +207,15 @@ const toRetrieve = () => {
|
|||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:deep(.payload-panel) {
|
||||||
|
height: 12rem;
|
||||||
|
min-height: 12rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.payload-panel textarea) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
select option {
|
select option {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
|
|||||||
Reference in New Issue
Block a user