Merge pull request #17819 from silentoplayz/fix-layout-and-i18n

fix: i81n.t and correct button layout issue
This commit is contained in:
Tim Jaeryang Baek 2025-09-27 16:30:07 -05:00 committed by GitHub
commit 1283a8ce79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -296,7 +296,7 @@
<div <div
class="flex justify-between flex-col sm:flex-row items-start sm:items-center gap-2 mt-2" class="flex justify-between flex-col sm:flex-row items-start sm:items-center gap-2 mt-2"
> >
<div class="flex-1 shrink-0"> <div class="shrink-0">
<button <button
type="button" type="button"
class="px-3.5 py-1.5 text-sm font-medium bg-gray-50 hover:bg-gray-100 text-gray-900 dark:bg-gray-850 dark:hover:bg-gray-800 dark:text-gray-200 transition rounded-lg shrink-0 {($settings?.highContrastMode ?? class="px-3.5 py-1.5 text-sm font-medium bg-gray-50 hover:bg-gray-100 text-gray-900 dark:bg-gray-850 dark:hover:bg-gray-800 dark:text-gray-200 transition rounded-lg shrink-0 {($settings?.highContrastMode ??

View file

@ -16,7 +16,7 @@
const onSubmit = async (modelInfo) => { const onSubmit = async (modelInfo) => {
if ($models.find((m) => m.id === modelInfo.id)) { if ($models.find((m) => m.id === modelInfo.id)) {
toast.error( toast.error(
i18n.t( $i18n.t(
"Error: A model with the ID '{{modelId}}' already exists. Please select a different ID to proceed.", "Error: A model with the ID '{{modelId}}' already exists. Please select a different ID to proceed.",
{ modelId: modelInfo.id } { modelId: modelInfo.id }
) )