diff --git a/catalyst_voices/lib/pages/workspace/workspace_page.dart b/catalyst_voices/lib/pages/workspace/workspace_page.dart index ae19d06783..96de89afa6 100644 --- a/catalyst_voices/lib/pages/workspace/workspace_page.dart +++ b/catalyst_voices/lib/pages/workspace/workspace_page.dart @@ -3,8 +3,6 @@ import 'package:catalyst_voices/pages/workspace/proposal_navigation_panel.dart'; import 'package:catalyst_voices/pages/workspace/proposal_segment_controller.dart'; import 'package:catalyst_voices/pages/workspace/proposal_setup_panel.dart'; import 'package:catalyst_voices/pages/workspace/sample_rich_text.dart'; -import 'package:catalyst_voices/pages/workspace/sample_rich_text2.dart'; -import 'package:catalyst_voices/pages/workspace/sample_rich_text3.dart'; import 'package:catalyst_voices/widgets/widgets.dart'; import 'package:catalyst_voices_models/catalyst_voices_models.dart'; import 'package:flutter/material.dart'; @@ -17,31 +15,12 @@ final _proposalNavigation = WorkspaceProposalNavigation( WorkspaceProposalSetup( id: _setupSegmentId, steps: [ - const WorkspaceProposalSegmentStep( - id: 0, - title: 'Title', - description: 'F14 / Promote Social Entrepreneurs and a ' - 'longer title up-to 60 characters', - isEditable: true, - ), WorkspaceProposalSegmentStep( - id: 1, + id: 0, title: 'Rich text', document: Document.fromJson(sampleRichText), isEditable: true, ), - WorkspaceProposalSegmentStep( - id: 2, - title: 'Other topic', - document: Document.fromJson(sampleRichText2), - isEditable: false, - ), - WorkspaceProposalSegmentStep( - id: 3, - title: 'Other topic', - document: Document.fromJson(sampleRichText3), - isEditable: false, - ), ], ), ], diff --git a/catalyst_voices/lib/widgets/rich_text/voices_rich_text.dart b/catalyst_voices/lib/widgets/rich_text/voices_rich_text.dart index 697060c9c5..af4ee01f1f 100644 --- a/catalyst_voices/lib/widgets/rich_text/voices_rich_text.dart +++ b/catalyst_voices/lib/widgets/rich_text/voices_rich_text.dart @@ -150,7 +150,7 @@ class _Editor extends StatelessWidget { return Padding( padding: const EdgeInsets.symmetric(horizontal: 24), child: ResizableBoxParent( - minHeight: 320, + minHeight: 470, resizableVertically: true, resizableHorizontally: false, child: DecoratedBox(