File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
src/components/Main/MainView/MessageInput Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff line change 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 ;
You can’t perform that action at this time.
0 commit comments