MM-49452 - Updating height of reply input (#26409)

* MM-49452 - Updating height of reply input

* Updating reply input

* Removing css transition

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Asaad Mahmood
2024-03-14 01:27:17 +05:00
коммит произвёл GitHub
родитель 7f4b007405
Коммит ac3eb04dcc
4 изменённых файлов: 14 добавлений и 3 удалений

Просмотреть файл

@@ -18,10 +18,22 @@
.sidebar--right & { .sidebar--right & {
padding-top: 12px; padding-top: 12px;
.AutoHeight {
position: absolute;
bottom: 0;
left: 0;
}
} }
.ThreadViewer & { .ThreadViewer & {
padding-top: 12px; padding-top: 12px;
.AutoHeight {
position: absolute;
bottom: 0;
left: 0;
}
} }
.custom-textarea { .custom-textarea {

Просмотреть файл

@@ -719,7 +719,7 @@ const AdvanceTextEditor = ({
{showFormatJSX} {showFormatJSX}
</TexteditorActions> </TexteditorActions>
)} )}
{showFormattingSpacer || shouldShowPreview || attachmentPreview ? ( {showFormattingSpacer || shouldShowPreview || attachmentPreview || isRHS ? (
<FormattingBarSpacer> <FormattingBarSpacer>
{formattingBar} {formattingBar}
</FormattingBarSpacer> </FormattingBarSpacer>

Просмотреть файл

@@ -179,7 +179,7 @@
} }
.custom-textarea { .custom-textarea {
min-height: 100px; min-height: 46px;
max-height: calc(50vh - 80px); max-height: calc(50vh - 80px);
} }

Просмотреть файл

@@ -395,7 +395,6 @@
resize: none; resize: none;
scrollbar-color: var(--center-channel-color-32) #fff0; scrollbar-color: var(--center-channel-color-32) #fff0;
scrollbar-width: thin; scrollbar-width: thin;
transition: height 150ms ease-in-out;
&.textbox-preview-area { &.textbox-preview-area {
overflow-y: auto; overflow-y: auto;