Individual layout tabs formatted to display bottom border and occupy full width

This commit is contained in:
Manoj Vivek 2023-06-16 12:15:36 +05:30
parent 6349bfc5a4
commit cc717ced27

View file

@ -42,11 +42,11 @@ const IndividualLayoutToolbar = ({
<Tabs <Tabs
onSelect={onTabClick} onSelect={onTabClick}
selectedIndex={activeTab} selectedIndex={activeTab}
className={cx('react-tabs flex')} className={cx('react-tabs flex flex-1')}
> >
<TabList <TabList
className={cx( className={cx(
'custom-scrollbar flex gap-1 overflow-x-auto border-b border-slate-400/60 dark:border-white' 'custom-scrollbar flex flex-1 justify-center gap-1 overflow-x-auto border-b border-slate-400/60 dark:border-white'
)} )}
> >
{devices.map((device, idx) => ( {devices.map((device, idx) => (