diff --git a/packages/design/sass/styles.scss b/packages/design/sass/styles.scss index b71bb323..bd54a8ed 100644 --- a/packages/design/sass/styles.scss +++ b/packages/design/sass/styles.scss @@ -297,7 +297,7 @@ iframe:focus { } .usa-button { - background: #e7e3fa; + background: none; margin: 0; padding: 2px; } diff --git a/packages/design/src/Form/index.tsx b/packages/design/src/Form/index.tsx index 7dd2a367..b95919e7 100644 --- a/packages/design/src/Form/index.tsx +++ b/packages/design/src/Form/index.tsx @@ -66,10 +66,12 @@ export default function Form({ context, session, onSubmit, + isPreview, // ideally this should be removed. just here now for the FFP demo }: { context: FormUIContext; session: FormSession; onSubmit?: (data: Record) => void; + isPreview?: boolean; }) { const initialPrompt = createPrompt(context.config, session, { validate: false, @@ -93,46 +95,46 @@ export default function Form({
- + + )}
{ uswdsRoot: uiContext.uswdsRoot, }; const disposable = createFormSession(form); // nullSession instead? - return
; + return ( +
+ ); }; const createPreviewComponents = ( diff --git a/packages/design/src/config/view/Fieldset/index.tsx b/packages/design/src/config/view/Fieldset/index.tsx index cc59bfa5..d2b23dd5 100644 --- a/packages/design/src/config/view/Fieldset/index.tsx +++ b/packages/design/src/config/view/Fieldset/index.tsx @@ -9,7 +9,7 @@ const FormSummary: FormElementComponent> = ({ children, }) => { return ( -
+
{pattern.legend} {children}
diff --git a/packages/design/src/config/view/SubmissionConfirmation/index.tsx b/packages/design/src/config/view/SubmissionConfirmation/index.tsx index bd771687..b9cd3294 100644 --- a/packages/design/src/config/view/SubmissionConfirmation/index.tsx +++ b/packages/design/src/config/view/SubmissionConfirmation/index.tsx @@ -23,8 +23,8 @@ const SubmissionConfirmation: FormElementComponent<

Next steps:

    -
  • Review your document package for accuracy
  • -
  • Print your document package
  • +
  • Print your document package
  • +
  • Review your documents for accuracy
  • Follow the instructions on the first page of your package