From 36cfd8f69fe2a0a4b1ed0fd43532802a1d362070 Mon Sep 17 00:00:00 2001 From: Niklas Date: Fri, 22 Jan 2021 14:50:26 +0100 Subject: [PATCH] quick fix for num of buttons in row --- src/components/DeckButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DeckButton.tsx b/src/components/DeckButton.tsx index f16cf53..470bf58 100644 --- a/src/components/DeckButton.tsx +++ b/src/components/DeckButton.tsx @@ -18,7 +18,7 @@ export default function DeckButton(props: Props) { const style = StyleSheet.create({ view: { backgroundColor: '#ff4000', - flexBasis: '25%', + flexBasis: (1 / 3) * 100 + '%', height: 80, }, text: {