* #1952 Fix incorrect localization key for sign-up failure message * feat: add typeScript support to enforce valid translation keys * feat: add typeScript support to enforce valid translation keys * fix lint errors * fix lint error * chore: Disallow destructuring 't' from useTranslation This commit adds a linting rule to disallow the destructuring of the 't' property from the result of the useTranslation function call. The no-restricted-syntax rule in the ESLint configuration has been updated to enforce this restriction. The intention is to promote alternative approaches like using the useTranslate hook for localization. * fix: typo fixed for memoChat * fix: copy code button toast message Refactored the code for the "Copy Code" button to utilize i18 strings for displaying the success message. Replaced the hard-coded value with the appropriate i18 string "Code copied successfully." * fix: #1980 disable selection of future dates in daily review section
50 lines
1.2 KiB
Text
50 lines
1.2 KiB
Text
.date-picker-wrapper {
|
|
@apply flex flex-col justify-start items-start p-4;
|
|
|
|
> .date-picker-header {
|
|
@apply flex flex-row justify-center items-center w-full mb-2;
|
|
|
|
> .btn-text {
|
|
@apply w-6 h-6 rounded cursor-pointer select-none flex flex-col justify-center items-center opacity-40 hover:bg-gray-200;
|
|
}
|
|
|
|
> .normal-text {
|
|
@apply mx-1 leading-6 font-mono;
|
|
}
|
|
}
|
|
|
|
> .date-picker-day-container {
|
|
@apply flex flex-row justify-start items-start;
|
|
width: 280px;
|
|
flex-wrap: wrap;
|
|
|
|
> .date-picker-day-header {
|
|
@apply flex flex-row justify-around items-center w-full;
|
|
|
|
> .day-item {
|
|
@apply w-9 h-9 select-none flex flex-col justify-center items-center;
|
|
color: gray;
|
|
font-size: 13px;
|
|
margin: 2px 0;
|
|
}
|
|
}
|
|
|
|
> .day-item {
|
|
@apply w-9 h-9 rounded-full text-sm select-none cursor-pointer flex flex-col justify-center items-center hover:bg-gray-200 dark:hover:bg-zinc-600;
|
|
margin: 2px;
|
|
|
|
&.current {
|
|
@apply text-blue-600 !bg-blue-100 text-base font-medium;
|
|
}
|
|
|
|
&.disabled {
|
|
@apply cursor-not-allowed;
|
|
}
|
|
|
|
&.null {
|
|
background-color: unset;
|
|
cursor: unset;
|
|
}
|
|
}
|
|
}
|
|
}
|