diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js index b234348384f9..62f0a5eee84d 100644 --- a/src/pages/home/report/ReportActionCompose.js +++ b/src/pages/home/report/ReportActionCompose.js @@ -1022,10 +1022,7 @@ class ReportActionCompose extends React.Component { placeholderTextColor={themeColors.placeholderText} onChangeText={(comment) => this.updateComment(comment, true)} onKeyPress={this.triggerHotkeyActions} - style={[ - this.props.numberOfLines > 1 ? styles.textInputComposeMultiLines : styles.textInputCompose, - this.props.isComposerFullSize ? styles.textInputFullCompose : styles.flex4, - ]} + style={[styles.textInputCompose, this.props.isComposerFullSize ? styles.textInputFullCompose : styles.flex4]} maxLines={this.state.maxLines} onFocus={() => this.setIsFocused(true)} onBlur={() => { diff --git a/src/styles/styles.js b/src/styles/styles.js index 3dab8a9866c4..e8168c5bc440 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -1547,27 +1547,8 @@ const styles = { // paddingVertical: 0, alignSelf: 'center', and textAlignVertical: 'center' paddingHorizontal: variables.avatarChatSpacing, - paddingTop: 9, - paddingBottom: 9, - alignSelf: 'center', - textAlignVertical: 'center', - }, - 0, - ), - textInputComposeMultiLines: addOutlineWidth( - { - backgroundColor: themeColors.componentBG, - borderColor: themeColors.border, - color: themeColors.text, - fontFamily: fontFamily.EMOJI_TEXT_FONT, - fontSize: variables.fontSizeNormal, - borderWidth: 0, - height: 'auto', - lineHeight: variables.lineHeightXLarge, - ...overflowXHidden, - paddingHorizontal: variables.avatarChatSpacing, - paddingTop: 5, - paddingBottom: 5, + paddingTop: 0, + paddingBottom: 0, alignSelf: 'center', textAlignVertical: 'center', }, @@ -1588,7 +1569,7 @@ const styles = { // composer padding should not be modified unless thoroughly tested against the cases in this PR: #12669 textInputComposeSpacing: { - paddingVertical: 0, + paddingVertical: 5, ...flex.flexRow, flex: 1, }, diff --git a/web/index.html b/web/index.html index a2e691af06d8..aa7735079384 100644 --- a/web/index.html +++ b/web/index.html @@ -40,7 +40,7 @@ #no-drag-area { -webkit-app-region: no-drag; } - input::placeholder, textarea::placeholder { + input::placeholder { user-select: none; -webkit-user-select: none }