add spacing in general, minor change

This commit is contained in:
ManishMadan2882 2024-05-29 03:27:53 +05:30
parent a585fe4d54
commit 1ae7771290
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import Exit from '../assets/exit.svg'; import Exit from '../assets/exit.svg';
import { ActiveState } from '../models/misc'; import { ActiveState } from '../models/misc';
import { useTranslation } from 'react-i18next';
function ConfirmationModal({ function ConfirmationModal({
message, message,
modalState, modalState,
@ -18,6 +18,7 @@ function ConfirmationModal({
cancelLabel?: string; cancelLabel?: string;
handleCancel?: () => void; handleCancel?: () => void;
}) { }) {
const { t } = useTranslation();
return ( return (
<article <article
className={`${ className={`${
@ -54,7 +55,7 @@ function ConfirmationModal({
}} }}
className="cursor-pointer rounded-3xl px-5 py-2 text-sm font-medium hover:bg-gray-100 dark:bg-transparent dark:text-light-gray dark:hover:bg-[#767183]/50" className="cursor-pointer rounded-3xl px-5 py-2 text-sm font-medium hover:bg-gray-100 dark:bg-transparent dark:text-light-gray dark:hover:bg-[#767183]/50"
> >
{cancelLabel ? cancelLabel : 'Cancel'} {cancelLabel ? cancelLabel : t('cancel')}
</button> </button>
</div> </div>
</div> </div>

View File

@ -84,7 +84,7 @@ const General: React.FC = () => {
/> />
</div> </div>
<div className="mb-5"> <div className="mb-5">
<p className="font-bold text-jet dark:text-bright-gray"> <p className="mb-2 font-bold text-jet dark:text-bright-gray">
{t('settings.general.selectLanguage')} {t('settings.general.selectLanguage')}
</p> </p>
<Dropdown <Dropdown