Skip to content

Commit eae4153

Browse files
committed
refactor: remove maxRows from TextArea components in Cycle and Module analytics sidebars
Updated the TextArea components in CycleSidebarDetails and ModuleAnalyticsSidebar to remove the maxRows property, allowing for unrestricted text input. This change enhances the user experience by providing more flexibility in text entry.
1 parent 706b6d8 commit eae4153

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/core/components/cycles/analytics-sidebar/sidebar-details.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const CycleSidebarDetails = observer(function CycleSidebarDetails(props:
6868
return (
6969
<div className="flex w-full flex-col gap-5">
7070
{cycleDetails?.description && (
71-
<TextArea size="lg" surface="inline" autoResize maxRows={8} value={cycleDetails.description} disabled />
71+
<TextArea size="lg" surface="inline" autoResize value={cycleDetails.description} disabled />
7272
)}
7373

7474
<div className="flex flex-col gap-5 pt-2.5 pb-6">

apps/web/core/components/modules/analytics-sidebar/root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export const ModuleAnalyticsSidebar = observer(function ModuleAnalyticsSidebar(p
238238
</div>
239239

240240
{moduleDetails.description && (
241-
<TextArea size="lg" surface="inline" autoResize maxRows={8} value={moduleDetails.description} disabled />
241+
<TextArea size="lg" surface="inline" autoResize value={moduleDetails.description} disabled />
242242
)}
243243

244244
<div className="flex flex-col gap-5 pt-2.5 pb-6">

0 commit comments

Comments
 (0)