aboutsummaryrefslogtreecommitdiff
path: root/src/components/common
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-06-15 01:17:40 +0900
committerBrian Kim <brian@tagg.id>2021-06-15 01:17:40 +0900
commit5d8357b7e370a51a5f13b316582bcbcd595566d9 (patch)
tree8ec80ca7aa0acf34819a64d16b089fe08e0f82d7 /src/components/common
parent52ff7abbc60fc1eef1f8d67372de855ab09069a9 (diff)
Correct positioning
Diffstat (limited to 'src/components/common')
-rw-r--r--src/components/common/TaggTypeahead.tsx10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/components/common/TaggTypeahead.tsx b/src/components/common/TaggTypeahead.tsx
index a7789881..6686b4d9 100644
--- a/src/components/common/TaggTypeahead.tsx
+++ b/src/components/common/TaggTypeahead.tsx
@@ -70,18 +70,13 @@ const TaggTypeahead: React.FC<MentionSuggestionsProps> = ({
const styles = StyleSheet.create({
container: {
- // marginLeft: SCREEN_WIDTH * 0.05,
- // marginLeft: 20,
- // margin: 50,
width: SCREEN_WIDTH,
maxHeight: 264,
- // borderRadius: 10,
backgroundColor: 'white',
position: 'absolute',
- // bottom: 0,
alignSelf: 'center',
zIndex: 1,
- // borderWidth: 1,
+ margin: -10,
},
overlay: {
width: SCREEN_WIDTH,
@@ -90,8 +85,7 @@ const styles = StyleSheet.create({
opacity: 0.4,
position: 'absolute',
alignSelf: 'center',
- // left: 0,
- bottom: 0,
+ bottom: 10,
zIndex: -1,
},
});