diff --git a/pages/_app.tsx b/pages/_app.tsx index afb21f2..897ed80 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -26,7 +26,7 @@ import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs' export default function App({ Component, pageProps: { session, ...pageProps }, }: AppProps<{ session: Session }>) { - console.log(pageProps); + // console.log(pageProps); const router = useRouter(); const [messages, setMessages] = useState({}); diff --git a/pages/cart/translations/index.tsx b/pages/cart/translations/index.tsx index c34c2e6..6929349 100644 --- a/pages/cart/translations/index.tsx +++ b/pages/cart/translations/index.tsx @@ -40,7 +40,7 @@ const AdminTranslations = () => { return ( -
+

Edit Translations

@@ -70,24 +70,23 @@ const AdminTranslations = () => { - - - + {/* Adjusted width */} + {/* Adjusted width */} + {/* Adjusted width */} {Object.entries(baseTranslations).map(([key, baseValue]) => ( - +
KeyBase TranslationTranslationKeyBase TranslationTranslation
{key}{key} {baseValue} - handleChange(key, e.target.value)} - className="block w-full text-base px-2 py-1 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 rounded placeholder-gray-400" - style={{ transition: 'box-shadow .3s', boxShadow: translations[key] ? '0 0 0px 1px rgba(59, 130, 246, 0.5)' : 'none' }} + className="block w-60hv text-base px-2 py-1 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 rounded placeholder-gray-400" + style={{ width: '100%', resize: 'both', transition: 'box-shadow .3s', boxShadow: translations[key] ? '0 0 0px 1px rgba(59, 130, 246, 0.5)' : 'none' }} />