diff --git a/shared/chat/audio/audio-send.native.tsx b/shared/chat/audio/audio-send.native.tsx index ba6ca44a70e1..24038957c46f 100644 --- a/shared/chat/audio/audio-send.native.tsx +++ b/shared/chat/audio/audio-send.native.tsx @@ -41,9 +41,9 @@ const AudioSend = (props: Props) => { - + - + {player} @@ -63,9 +63,7 @@ const styles = Kb.Styles.styleSheetCreate(() => ({ paddingRight: Kb.Styles.globalMargins.tiny, }, icon: { - alignItems: 'center', height: 32, - justifyContent: 'center', marginRight: Kb.Styles.globalMargins.tiny, width: 32, }, diff --git a/shared/chat/avatars.tsx b/shared/chat/avatars.tsx index 2a156da743bb..57b367599cbf 100644 --- a/shared/chat/avatars.tsx +++ b/shared/chat/avatars.tsx @@ -28,7 +28,7 @@ const OverlayIcon = React.memo(function OverlayIcon(p: { if (!type) return null return ( - + - + ) }) @@ -102,12 +102,12 @@ const Avatars = React.memo(function Avatars(p: Props) { if (!participantTwo) { return ( - - + + - - + + ) } @@ -144,10 +144,10 @@ const TeamAvatar = React.memo(function TeamAvatar(p: { }) { const {teamname, size, isSelected, isMuted, isHovered} = p return ( - + - + ) }) diff --git a/shared/chat/blocking/block-modal.tsx b/shared/chat/blocking/block-modal.tsx index c29fa87e9fa5..0bb637314769 100644 --- a/shared/chat/blocking/block-modal.tsx +++ b/shared/chat/blocking/block-modal.tsx @@ -52,7 +52,7 @@ const CheckboxRow = (props: CheckboxRowProps) => ( onClick={() => props.onCheck(!props.checked)} style={styles.shrink} /> - + {props.info && ( { style={styles.radioButton} /> ))} - { onChangeText={props.setExtraNotes} value={props.extraNotes} /> - + {showIncludeTranscript && ( - + - + ) } diff --git a/shared/chat/conversation/attachment-fullscreen/index.desktop.tsx b/shared/chat/conversation/attachment-fullscreen/index.desktop.tsx index 6f80c5700830..7ee2b45988c0 100644 --- a/shared/chat/conversation/attachment-fullscreen/index.desktop.tsx +++ b/shared/chat/conversation/attachment-fullscreen/index.desktop.tsx @@ -13,7 +13,7 @@ type ArrowProps = { const Arrow = (props: ArrowProps) => { const {left, onClick} = props return ( - { e.stopPropagation() @@ -26,7 +26,7 @@ const Arrow = (props: ArrowProps) => { color={Kb.Styles.globalColors.white} style={Kb.Styles.collapseStyles([styles.arrow, left && styles.arrowLeft, !left && styles.arrowRight])} /> - + ) } @@ -80,8 +80,8 @@ const Fullscreen = React.memo(function Fullscreen(p: Props) { return ( - - + + {title} @@ -96,7 +96,7 @@ const Fullscreen = React.memo(function Fullscreen(p: Props) { onClick={showPopup} /> {popup} - + {path && ( @@ -126,7 +126,7 @@ const Fullscreen = React.memo(function Fullscreen(p: Props) { )} - + {!!progressLabel && ( )} - - + + ) }) @@ -183,7 +183,6 @@ const styles = Kb.Styles.styleSheetCreate( width: 36, }, }), - container: {...Kb.Styles.globalStyles.flexBoxColumn, height: '100%', width: '100%'}, contentsFit: { ...Kb.Styles.globalStyles.flexBoxRow, flex: 1, @@ -192,12 +191,9 @@ const styles = Kb.Styles.styleSheetCreate( }, error: {color: Kb.Styles.globalColors.redDark}, headerFooter: { - ...Kb.Styles.globalStyles.flexBoxRow, - alignItems: 'center', height: 32, paddingLeft: Kb.Styles.globalMargins.tiny, paddingRight: Kb.Styles.globalMargins.tiny, - width: '100%', }, link: Kb.Styles.platformStyles({ isElectron: {color: Kb.Styles.globalColors.black_50, cursor: 'pointer'}, diff --git a/shared/chat/conversation/command-markdown.tsx b/shared/chat/conversation/command-markdown.tsx index 10c20f1c5509..f40010babebf 100644 --- a/shared/chat/conversation/command-markdown.tsx +++ b/shared/chat/conversation/command-markdown.tsx @@ -6,7 +6,7 @@ const CommandMarkdown = () => { const body = md?.body ?? '' const title = md?.title ?? undefined return ( - + {!!title && ( {title} @@ -17,7 +17,7 @@ const CommandMarkdown = () => { {body} - + ) } diff --git a/shared/chat/conversation/command-status.tsx b/shared/chat/conversation/command-status.tsx index dc67888d461c..4181640af8b6 100644 --- a/shared/chat/conversation/command-status.tsx +++ b/shared/chat/conversation/command-status.tsx @@ -39,7 +39,7 @@ const Container = () => { } return ( - + { })} - + ) } diff --git a/shared/chat/conversation/error.tsx b/shared/chat/conversation/error.tsx index 0c9266bb235c..e098c723b111 100644 --- a/shared/chat/conversation/error.tsx +++ b/shared/chat/conversation/error.tsx @@ -4,15 +4,15 @@ import * as Kb from '@/common-adapters' const ConversationError = () => { const text = Chat.useChatContext(s => s.meta.snippet ?? '') return ( - + There was an error loading this conversation. The error is: - + - - + + ) } @@ -21,12 +21,9 @@ const styles = Kb.Styles.styleSheetCreate( ({ body: {marginTop: Kb.Styles.globalMargins.small}, container: { - ...Kb.Styles.globalStyles.flexBoxColumn, padding: Kb.Styles.globalMargins.medium, - width: '100%', }, errorBox: { - ...Kb.Styles.globalStyles.flexBoxRow, marginTop: Kb.Styles.globalMargins.small, }, errorText: {flexGrow: 1}, diff --git a/shared/chat/conversation/giphy/index.desktop.tsx b/shared/chat/conversation/giphy/index.desktop.tsx index 4581d7dcb51b..6e235c6b048a 100644 --- a/shared/chat/conversation/giphy/index.desktop.tsx +++ b/shared/chat/conversation/giphy/index.desktop.tsx @@ -28,7 +28,7 @@ const GiphySearch = () => { ) } return ( - + { const margin = -margins[index]! / 2 - 1 return p.targetUrl ? ( - + { url={p.previewUrl} width={scaledWidth(p.previewWidth)} /> - + ) : null })} @@ -84,7 +84,7 @@ const GiphySearch = () => { ))} - + ) } diff --git a/shared/chat/conversation/input-area/normal2/platform-input.desktop.tsx b/shared/chat/conversation/input-area/normal2/platform-input.desktop.tsx index 88026a913e7e..ae52c4c6f365 100644 --- a/shared/chat/conversation/input-area/normal2/platform-input.desktop.tsx +++ b/shared/chat/conversation/input-area/normal2/platform-input.desktop.tsx @@ -137,9 +137,9 @@ const GiphyButton = React.memo(function GiphyButton() { const onGiphyToggle = toggleGiphyPrefill return ( - + - + ) }) @@ -184,21 +184,21 @@ const FileButton = React.memo(function FileButton(p: { ) return ( - + - + ) }) const Footer = () => { return ( - + {`*bold*, _italics_, \`code\`, >quote, !>spoiler - + ) } @@ -418,8 +418,10 @@ const PlatformInput = React.memo(function PlatformInput(p: Props) { <> {popup} - - + - +