diff --git a/govtool/frontend/src/components/molecules/CenteredBoxBottomButtons.tsx b/govtool/frontend/src/components/molecules/CenteredBoxBottomButtons.tsx index 3da36563c..5ca687317 100644 --- a/govtool/frontend/src/components/molecules/CenteredBoxBottomButtons.tsx +++ b/govtool/frontend/src/components/molecules/CenteredBoxBottomButtons.tsx @@ -30,7 +30,6 @@ export const CenteredBoxBottomButtons = ({ size="extraLarge" sx={{ px: 6, - width: isMobile ? "100%" : "auto", }} variant="outlined" > @@ -46,10 +45,7 @@ export const CenteredBoxBottomButtons = ({ isLoading={isLoading} onClick={onActionButton} sx={{ - borderRadius: 50, - textTransform: "none", px: 6, - width: isMobile ? "100%" : "auto", height: 48, fontSize: 16, }} @@ -63,13 +59,13 @@ export const CenteredBoxBottomButtons = ({ return ( - {isMobile ? renderActionButton : renderBackButton} + {renderBackButton} - {isMobile ? renderBackButton : renderActionButton} + {renderActionButton} ); };