#827 fix location field layout (#828)

Co-authored-by: lethemanh <lethemanh@lethemanhs-MacBook-Pro.local>
This commit is contained in:
lethemanh
2026-04-24 17:17:59 +07:00
committed by GitHub
parent 138cfd7f4e
commit 00286b88ea
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -5,7 +5,6 @@ import React from 'react'
import { useI18n } from 'twake-i18n'
import { FieldWithLabel } from './components/FieldWithLabel'
import { SectionPreviewRow } from './components/SectionPreviewRow'
import { useScreenSizeDetection } from '@/useScreenSizeDetection'
export function AddDescButton({
showDescription,
@@ -44,7 +44,7 @@ export default function LocationField({
return (
<FieldWithLabel
label={showInputLabel(isLocationExpanded, t('event.form.location'))}
isExpanded={isLocationExpanded && !isMobile}
isExpanded={showMore && !isMobile}
>
{!isLocationExpanded ? (
<SectionPreviewRow