diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js index 2fb615eb999e..831e7ebc44e5 100644 --- a/src/pages/home/report/ReportActionCompose.js +++ b/src/pages/home/report/ReportActionCompose.js @@ -1018,10 +1018,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 325b0fab085f..5d7f0952a627 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 344f048e55f8..ec0da6a9f305 100644 --- a/web/index.html +++ b/web/index.html @@ -44,7 +44,7 @@ #no-drag-area { -webkit-app-region: no-drag; } - input::placeholder, textarea::placeholder { + input::placeholder { user-select: none; -webkit-user-select: none }