fix(frontend): use tabs instead of pills for settings modal

This way the button don't look so strange and this is more like the class is intended.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2023-05-13 14:00:34 +02:00 committed by Tilman Vatteroth
parent 3d3b96de6c
commit eff6c53860

View file

@ -30,7 +30,7 @@ export const SettingsModal: React.FC<CommonModalProps> = ({ show, onHide }) => {
titleI18nKey={'settings.title'} titleI18nKey={'settings.title'}
showCloseButton={true}> showCloseButton={true}>
<Modal.Body> <Modal.Body>
<Tabs navbar={false} variant={'pills'} defaultActiveKey={'global'}> <Tabs navbar={false} variant={'tabs'} defaultActiveKey={'global'}>
<Tab title={t('settings.global.label')} eventKey={'global'}> <Tab title={t('settings.global.label')} eventKey={'global'}>
<GlobalSettingsTabContent /> <GlobalSettingsTabContent />
</Tab> </Tab>