From 596e744d4177d3be6defeef68f202a70baaf6e37 Mon Sep 17 00:00:00 2001 From: Alice <81575558+aliceisjustplaying@users.noreply.github.com> Date: Sun, 10 Mar 2024 22:00:51 +0000 Subject: [PATCH] Fix button widths in the Settings on web (#3165) * Fix button widths in the Settings on Web Had to set `box-sizing: content-box` because in certain translations the buttons would become multiline. Fixes #3060. * you know what. whatever. i didn't want to be able to change box-sizing anyways. i'm perfectly happy with this workaround. * ... * flex-grow: 1 --- src/view/com/util/forms/SelectableBtn.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/view/com/util/forms/SelectableBtn.tsx b/src/view/com/util/forms/SelectableBtn.tsx index f09d063a..e577e155 100644 --- a/src/view/com/util/forms/SelectableBtn.tsx +++ b/src/view/com/util/forms/SelectableBtn.tsx @@ -57,6 +57,7 @@ const styles = StyleSheet.create({ btn: { flexDirection: 'row', justifyContent: 'center', + flexGrow: 1, borderWidth: 1, borderLeftWidth: 0, paddingHorizontal: 10,