diff --git a/src/components/EnquiryForm.css b/src/components/EnquiryForm.css index 893328e..b4987ba 100644 --- a/src/components/EnquiryForm.css +++ b/src/components/EnquiryForm.css @@ -62,7 +62,8 @@ border-color: black; } -.EnquiryForm--Input[disabled] { +.EnquiryForm--Input[disabled], +.EnquiryForm--SubmitButton[disabled] { opacity: 0.4; pointer-events: none; cursor: progress; @@ -72,5 +73,9 @@ text-transform: none; } -.EnquiryForm--SubmitButton { +.EnquiryForm--Alert { + background: var(--lightGrey); + width: 100%; + text-align: center; + padding: 2rem; } diff --git a/src/components/EnquiryFormControlled.css b/src/components/EnquiryFormControlled.css index a7ecdec..b1d199b 100644 --- a/src/components/EnquiryFormControlled.css +++ b/src/components/EnquiryFormControlled.css @@ -35,10 +35,3 @@ stroke-dasharray: 40, 0; stroke-dashoffset: 0; } - -.EnquiryForm--Alert { - background: whitesmoke; - width: 100%; - text-align: center; - padding: 2rem; -} diff --git a/src/components/EnquiryFormSimple.js b/src/components/EnquiryFormSimple.js index 7d81497..ee1bf04 100644 --- a/src/components/EnquiryFormSimple.js +++ b/src/components/EnquiryFormSimple.js @@ -36,10 +36,10 @@ export default ({ + + + +