File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
extension/chrome/elements/compose-modules Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments