Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SegmentedControl]: ensure controlItem doesn't shrink past its contents #826

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

AlanBreck
Copy link
Collaborator

@AlanBreck AlanBreck commented Sep 12, 2024

Avoids this:

Screenshot 2024-09-12 at 11 32 39 AM

Copy link
Contributor

👋 Thanks for Submitting! This PR is available for preview at the link below.

✅ PR tip preview: https://826.pr.nala.bravesoftware.com/
✅ Commit preview: https://826.pr.nala.bravesoftware.com/commit-c60fb53b956f1dba3fc00cc0175d2ba2714bc3f0/

- ./tokens/css/variables-android.old.css: 7424 bytes
+ ./tokens/css/variables-android.css: 7424 bytes
---
- ./tokens/css/variables-browser.old.css: 6874 bytes
+ ./tokens/css/variables-browser.css: 6874 bytes
---
- ./tokens/css/variables-ios.old.css: 7067 bytes
+ ./tokens/css/variables-ios.css: 7067 bytes
---
- ./tokens/css/variables-marketing.old.css: 13561 bytes
+ ./tokens/css/variables-marketing.css: 13561 bytes
---
- ./tokens/css/variables-news.old.css: 526 bytes
+ ./tokens/css/variables-news.css: 526 bytes
---
- ./tokens/css/variables-newtab.old.css: 1941 bytes
+ ./tokens/css/variables-newtab.css: 1941 bytes
---
- ./tokens/css/variables-search.old.css: 2419 bytes
+ ./tokens/css/variables-search.css: 2419 bytes
---
- ./tokens/css/variables-web3.old.css: 905 bytes
+ ./tokens/css/variables-web3.css: 905 bytes
---
- ./tokens/css/variables.old.css: 114834 bytes
+ ./tokens/css/variables.css: 114834 bytes
Variables Diff: variables-android.diff
--- ./tokens/css/variables-android.old.css	2024-09-12 15:34:10.597233996 +0000
+++ ./tokens/css/variables-android.css	2024-09-12 15:33:31.537147778 +0000
@@ -1,6 +1,6 @@
 /**
  * Do not edit directly
- * Generated on Wed Sep 11 2024 14:47:24 GMT+0000 (Coordinated Universal Time)
+ * Generated on Thu Sep 12 2024 15:33:31 GMT+0000 (Coordinated Universal Time)
  */
 
 :root {
Variables Diff: variables-browser.diff
--- ./tokens/css/variables-browser.old.css	2024-09-12 15:34:10.921234697 +0000
+++ ./tokens/css/variables-browser.css	2024-09-12 15:33:31.521147731 +0000
@@ -1,6 +1,6 @@
 /**
  * Do not edit directly
- * Generated on Wed Sep 11 2024 14:47:24 GMT+0000 (Coordinated Universal Time)
+ * Generated on Thu Sep 12 2024 15:33:31 GMT+0000 (Coordinated Universal Time)
  */
 
 :root {
Variables Diff: variables-ios.diff
--- ./tokens/css/variables-ios.old.css	2024-09-12 15:34:11.189235273 +0000
+++ ./tokens/css/variables-ios.css	2024-09-12 15:33:31.561147849 +0000
@@ -1,6 +1,6 @@
 /**
  * Do not edit directly
- * Generated on Wed Sep 11 2024 14:47:24 GMT+0000 (Coordinated Universal Time)
+ * Generated on Thu Sep 12 2024 15:33:31 GMT+0000 (Coordinated Universal Time)
  */
 
 :root {
Variables Diff: variables-marketing.diff
--- ./tokens/css/variables-marketing.old.css	2024-09-12 15:34:11.481235901 +0000
+++ ./tokens/css/variables-marketing.css	2024-09-12 15:33:31.589147931 +0000
@@ -1,6 +1,6 @@
 /**
  * Do not edit directly
- * Generated on Wed Sep 11 2024 14:47:24 GMT+0000 (Coordinated Universal Time)
+ * Generated on Thu Sep 12 2024 15:33:31 GMT+0000 (Coordinated Universal Time)
  */
 
 :root {
Variables Diff: variables-news.diff
--- ./tokens/css/variables-news.old.css	2024-09-12 15:34:11.757236498 +0000
+++ ./tokens/css/variables-news.css	2024-09-12 15:33:31.613148000 +0000
@@ -1,6 +1,6 @@
 /**
  * Do not edit directly
- * Generated on Wed Sep 11 2024 14:47:24 GMT+0000 (Coordinated Universal Time)
+ * Generated on Thu Sep 12 2024 15:33:31 GMT+0000 (Coordinated Universal Time)
  */
 
 :root {
Variables Diff: variables-newtab.diff
--- ./tokens/css/variables-newtab.old.css	2024-09-12 15:34:12.029237085 +0000
+++ ./tokens/css/variables-newtab.css	2024-09-12 15:33:31.621148024 +0000
@@ -1,6 +1,6 @@
 /**
  * Do not edit directly
- * Generated on Wed Sep 11 2024 14:47:24 GMT+0000 (Coordinated Universal Time)
+ * Generated on Thu Sep 12 2024 15:33:31 GMT+0000 (Coordinated Universal Time)
  */
 
 :root {
Variables Diff: variables-search.diff
--- ./tokens/css/variables-search.old.css	2024-09-12 15:34:12.317237707 +0000
+++ ./tokens/css/variables-search.css	2024-09-12 15:33:31.609147989 +0000
@@ -1,6 +1,6 @@
 /**
  * Do not edit directly
- * Generated on Wed Sep 11 2024 14:47:24 GMT+0000 (Coordinated Universal Time)
+ * Generated on Thu Sep 12 2024 15:33:31 GMT+0000 (Coordinated Universal Time)
  */
 
 :root {
Variables Diff: variables-web3.diff
--- ./tokens/css/variables-web3.old.css	2024-09-12 15:34:12.497238094 +0000
+++ ./tokens/css/variables-web3.css	2024-09-12 15:33:31.629148047 +0000
@@ -1,6 +1,6 @@
 /**
  * Do not edit directly
- * Generated on Wed Sep 11 2024 14:47:24 GMT+0000 (Coordinated Universal Time)
+ * Generated on Thu Sep 12 2024 15:33:31 GMT+0000 (Coordinated Universal Time)
  */
 
 @media (prefers-color-scheme: light) {
Variables Diff: variables.diff
--- ./tokens/css/variables.old.css	2024-09-12 15:34:12.889238942 +0000
+++ ./tokens/css/variables.css	2024-09-12 15:33:31.389147345 +0000
@@ -1,6 +1,6 @@
 /**
  * Do not edit directly
- * Generated on Wed Sep 11 2024 14:47:24 GMT+0000 (Coordinated Universal Time)
+ * Generated on Thu Sep 12 2024 15:33:31 GMT+0000 (Coordinated Universal Time)
  */
 
 :root {

@AlanBreck AlanBreck merged commit 6219c2f into main Sep 13, 2024
5 checks passed
@AlanBreck AlanBreck deleted the segmented-control-pill-fix branch September 13, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants