Skip to content

Commit 59eaba8

Browse files
committed
💄 feat: IsInputTextAreaExpandedButton が上部に位置するように調整
1 parent 5f296a0 commit 59eaba8

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/components/Main/MainView/MessageInput/MessageInput.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ $radius: 4px;
204204
display: flex;
205205
flex-direction: row;
206206
justify-content: space-between;
207-
align-items: flex-end;
208207
209208
&[data-is-archived] {
210209
@include color-ui-secondary-inactive;

src/components/Main/MainView/MessageInput/MessageInputLeftControls.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<template>
2-
<div :class="$style.outerContainer">
2+
<div
3+
:class="$style.outerContainer"
4+
:style="outerContainerStyle"
5+
>
36
<icon-button
47
v-if="showIsInputTextAreaExpandedButton"
58
:class="$style.button"
@@ -67,6 +70,12 @@ const isPreviewShownValue = computed<boolean>({
6770
emit('update:isLeftControlsExpanded', false)
6871
}
6972
})
73+
74+
const outerContainerStyle = computed(() => ({
75+
'--justify-content': props.showIsInputTextAreaExpandedButton
76+
? 'space-between'
77+
: 'flex-end'
78+
}))
7079
</script>
7180

7281
<style lang="scss" module>
@@ -75,6 +84,7 @@ const isPreviewShownValue = computed<boolean>({
7584
display: flex;
7685
flex-direction: column;
7786
align-items: center;
87+
justify-content: var(--justify-content);
7888
}
7989
.innerContainer {
8090
@include color-ui-secondary;

0 commit comments

Comments
 (0)