Tab appears out of Page

Hi Radzen Team,
thank you for the amazing support for Radzen.

There are many Tabs in a page. So few Tabs are going out of the visibility.
Could you please help me with this?

Thanks in advance,
Heena

Hi @Heena,

I'm afraid that we cannot help much just looking at your screenshot.

Hi,
Thanks for the reply.


This is the code for Tabs. Page has so many Tabs that does not fit into Screen.
So it looks like below. Here you can see, After Checklist Tab, (the yellow highlated Tab) goes out of the Page.

Can you please help me with the element Style, so the Tab goes to next line or any other solution to view it.

Thanks

Usually there is a scroll - you might need to remove the hardcoded width:


Thanks for the suggestion.
I have tried by removing it, but due to application level css style it is not working.

Runtime I have checked that by giving "flex-wrap: wrap" to element.style or in .rz-tabview-nav, it shows remaining tabs into next line which will work for me.

But I dont know where to put this attribute "flex-wrap: wrap" in razor code.

I have tried by giving into RadzenTabs style, by giving in class z-tabview-nav or by giving in new div tag. but it does not work.
Could you please help me with that?

You should add this CSS to your application css file.

Yes, but how that is what i am looking for.

If you add flex-wrap: wrap to that CSS rule it should work as you want it:

.rz-tab-view-nav {
   flex-wrap: wrap;
}

Just add it to the application CSS file (app.css or site.css).

That works! Thanks :slight_smile: