Skip to content

Commit 9d8d94f

Browse files
Small style cleanups
1 parent 1793c3f commit 9d8d94f

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/view/com/feeds/ComposerPrompt.tsx

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, {useCallback, useState} from 'react'
2-
import {Keyboard, Pressable, StyleSheet, View} from 'react-native'
2+
import {Keyboard, Pressable, View} from 'react-native'
33
import {msg} from '@lingui/macro'
44
import {useLingui} from '@lingui/react'
55

@@ -148,6 +148,8 @@ export function ComposerPrompt() {
148148
a.relative,
149149
a.flex_row,
150150
a.align_start,
151+
a.border_t,
152+
t.atoms.border_contrast_low,
151153
{
152154
paddingLeft: 18,
153155
paddingRight: 15,
@@ -157,10 +159,6 @@ export function ComposerPrompt() {
157159
paddingTop: 10,
158160
paddingBottom: 10,
159161
}),
160-
{
161-
borderTopWidth: StyleSheet.hairlineWidth,
162-
borderColor: t.atoms.border_contrast_low.borderColor,
163-
},
164162
web({
165163
cursor: 'pointer',
166164
outline: 'none',
@@ -179,24 +177,22 @@ export function ComposerPrompt() {
179177
a.flex_1,
180178
a.flex_row,
181179
a.align_center,
180+
a.justify_between,
182181
a.px_md,
182+
a.rounded_full,
183+
t.atoms.bg_contrast_50,
183184
{
184185
height: 40,
185-
borderRadius: 20,
186-
justifyContent: 'space-between',
187186
},
188-
t.atoms.bg_contrast_50,
189187
]}>
190188
<Text
191189
style={[
192190
t.atoms.text_contrast_low,
193191
a.text_md,
194192
a.pl_xs,
195193
{
196-
lineHeight: a.text_md.fontSize,
197194
includeFontPadding: false,
198195
},
199-
native({top: 1}),
200196
]}>
201197
{_(msg`What's up?`)}
202198
</Text>

0 commit comments

Comments
 (0)