What is the best way to use Tabs in a container that is too small and causes overflow #3577
-
I'm working on the evergreen to paste migration for Settings > Usage & Billing in the app. There is one page with multiple tabs of data. Here is what the page looks like with a lot of tabs in evergreen. Here is what I have so far with the paste tabs component. You can see that the tab labels overflow and are cut off. What would be the best way to deal with this scenario if I need the full tab label to show? Is there a way to make the TabList overflow to a second line instead of forcing itself into one line by replacing the Tab overflow with ellipses? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Sorry, I don't know how to help with that. The documentation does not provide information on how to make the TabList overflow to a second line or replace the Tab overflow with ellipses. Here are some similar discussions:
|
Beta Was this translation helpful? Give feedback.
-
This has come up before and is something that is in our backlog to look into address. For this particular screen, I am wondering if those items are actually tabs or pages, though? Something like itemized billing for API calls or functions usage seems too important to not have its own URL. If they do, you should be using in page navigation. That still might not address the issue fully, but at least we're starting off with using the right component for the job. |
Beta Was this translation helpful? Give feedback.
Hi @pmiller-twilio
This has come up before and is something that is in our backlog to look into address.
For this particular screen, I am wondering if those items are actually tabs or pages, though? Something like itemized billing for API calls or functions usage seems too important to not have its own URL. If they do, you should be using in page navigation. That still might not address the issue fully, but at least we're starting off with using the right component for the job.