Skip to content

Commit 2751ff5

Browse files
author
Ioan Moldovan
authored
fix: reply box to ui issue (#5936)
1 parent 116ae48 commit 2751ff5

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

extension/chrome/elements/compose-modules/compose-recipients-module.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -919,14 +919,18 @@ export class ComposeRecipientsModule extends ViewModule<ComposeView> {
919919
sendingType: RecipientType,
920920
status: RecipientStatus
921921
): RecipientElement[] => {
922-
if (sendingType === 'to') {
923-
if ($('#input-container-cc').css('display') === 'none' && $('#input-container-bcc').css('display') === 'none') {
924-
container.parent().css('padding-bottom', this.inputContainerPaddingBottom);
922+
// Do not add padding-bottom for reply box
923+
// https://github.com/FlowCrypt/flowcrypt-browser/issues/5935
924+
if (!container.hasClass('input-container')) {
925+
if (sendingType === 'to') {
926+
if ($('#input-container-cc').css('display') === 'none' && $('#input-container-bcc').css('display') === 'none') {
927+
container.parent().css('padding-bottom', this.inputContainerPaddingBottom);
928+
}
925929
}
926-
}
927-
if (sendingType === 'cc') {
928-
if ($('#input-container-bcc').css('display') === 'none') {
929-
container.parent().css('padding-bottom', this.inputContainerPaddingBottom);
930+
if (sendingType === 'cc') {
931+
if ($('#input-container-bcc').css('display') === 'none') {
932+
container.parent().css('padding-bottom', this.inputContainerPaddingBottom);
933+
}
930934
}
931935
}
932936

0 commit comments

Comments
 (0)