Tab Tabs in the Tab Bar

I could not find a better title, but I would like to create a tab bar with two tabs that are always present and an undefined number of other tabs that are dynamically generated by the user.

I would like to implement something similar to app-Tabs in Firefox:

Tabs added by the user should scroll, and the remaining 2 tabs should be pinned and always displayed.

Here is the image: enter image description here

Is this possible via ext or do I need to do this via css?

Thanks for any ideas!

+6
source share
1 answer

Good for those interested, here's how I did it now.

I move the tab bar to the right using padding-left. The two tabs that I want to display are hidden and in the free space that arises from the gasket, I place two buttons and make them look like tabs.

If they are pressed, hidden buttons are activated.

It is not completely finished, but I think that he will act according to his will.

+2
source

Source: https://habr.com/ru/post/889992/


All Articles