diff --git a/web/src/beta/features/Editor/Map/InspectorPanel/LayerInspector/FeatureInspector/CustomPropertField.tsx b/web/src/beta/features/Editor/Map/InspectorPanel/LayerInspector/FeatureInspector/CustomPropertField.tsx index e58a7bef53..8deba2ceb1 100644 --- a/web/src/beta/features/Editor/Map/InspectorPanel/LayerInspector/FeatureInspector/CustomPropertField.tsx +++ b/web/src/beta/features/Editor/Map/InspectorPanel/LayerInspector/FeatureInspector/CustomPropertField.tsx @@ -51,6 +51,7 @@ export const FieldComponent = ({ field, setFields }: Props) => { key={field?.id} title={field?.title} value={field.value as string} + resizable="height" onBlur={handleChange} /> ) : field?.type === "Asset" ? ( diff --git a/web/src/beta/features/ProjectSettings/innerPages/GeneralSettings/index.tsx b/web/src/beta/features/ProjectSettings/innerPages/GeneralSettings/index.tsx index d42bbba221..f4f8003fdd 100644 --- a/web/src/beta/features/ProjectSettings/innerPages/GeneralSettings/index.tsx +++ b/web/src/beta/features/ProjectSettings/innerPages/GeneralSettings/index.tsx @@ -88,6 +88,7 @@ const GeneralSettings: FC = ({ diff --git a/web/src/beta/features/ProjectSettings/innerPages/PublicSettings/PublicSettingsDetail.tsx b/web/src/beta/features/ProjectSettings/innerPages/PublicSettings/PublicSettingsDetail.tsx index 465276e1ed..f5bf9f5e02 100644 --- a/web/src/beta/features/ProjectSettings/innerPages/PublicSettings/PublicSettingsDetail.tsx +++ b/web/src/beta/features/ProjectSettings/innerPages/PublicSettings/PublicSettingsDetail.tsx @@ -118,6 +118,7 @@ const PublicSettingsDetail: React.FC = ({ { setLocalPublicInfo((s) => ({ ...s, publicDescription })); }} diff --git a/web/src/beta/lib/reearth-ui/components/TextArea/index.tsx b/web/src/beta/lib/reearth-ui/components/TextArea/index.tsx index f2efb44ab4..7be3e98c29 100644 --- a/web/src/beta/lib/reearth-ui/components/TextArea/index.tsx +++ b/web/src/beta/lib/reearth-ui/components/TextArea/index.tsx @@ -18,7 +18,7 @@ export const TextArea: FC = ({ value, placeholder, resizable, - rows = 3, + rows = 5, disabled, counter, maxLength, @@ -109,7 +109,7 @@ const StyledTextArea = styled.textarea<{ border: "none", background: theme.bg[1], resize: resizable === "height" ? "vertical" : "none", - overflow: resizable === "height" ? "scroll" : "auto", + overflow: "auto", flex: 1, color: disabled && appearance !== "readonly" diff --git a/web/src/beta/ui/fields/Properties/ProprtyField.tsx b/web/src/beta/ui/fields/Properties/ProprtyField.tsx index f9dd998852..605a568f45 100644 --- a/web/src/beta/ui/fields/Properties/ProprtyField.tsx +++ b/web/src/beta/ui/fields/Properties/ProprtyField.tsx @@ -97,6 +97,7 @@ const PropertyField: FC = ({