about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlice <81575558+aliceisjustplaying@users.noreply.github.com>2024-03-10 22:00:51 +0000
committerGitHub <noreply@github.com>2024-03-10 15:00:51 -0700
commit596e744d4177d3be6defeef68f202a70baaf6e37 (patch)
tree65f2728841f30fb440859b6c3b37e4ce5413d4ca /src
parent1aaed1cc0d59ecafa1bb3c7f57f0a323940e6317 (diff)
downloadvoidsky-596e744d4177d3be6defeef68f202a70baaf6e37.tar.zst
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
Diffstat (limited to 'src')
-rw-r--r--src/view/com/util/forms/SelectableBtn.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/com/util/forms/SelectableBtn.tsx b/src/view/com/util/forms/SelectableBtn.tsx
index f09d063a1..e577e155d 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,