diff --git a/assets/css/theme.css b/assets/css/theme.css index 403bf98f3..6fa2f0170 100644 --- a/assets/css/theme.css +++ b/assets/css/theme.css @@ -871,18 +871,6 @@ select { top: 100%; } -.top-0 { - top: 0px; -} - -.right-2 { - right: 0.5rem; -} - -.top-2 { - top: 0.5rem; -} - .z-10 { z-index: 10; } @@ -1025,10 +1013,6 @@ select { margin-top: auto; } -.mb-auto { - margin-bottom: auto; -} - .box-content { -webkit-box-sizing: content-box; box-sizing: content-box; @@ -1162,6 +1146,10 @@ select { width: 100vw; } +.max-w-2xl { + max-width: 42rem; +} + .max-w-\[90vw\] { max-width: 90vw; } @@ -1685,6 +1673,11 @@ select { color: rgb(0 0 0 / var(--tw-text-opacity)); } +.text-gray-500 { + --tw-text-opacity: 1; + color: rgb(107 114 128 / var(--tw-text-opacity)); +} + .text-red-600 { --tw-text-opacity: 1; color: rgb(220 38 38 / var(--tw-text-opacity)); @@ -1776,6 +1769,10 @@ select { width: 1px; } +.js-inline-message { + color: #dc2626; +} + .u-hidden-visually { border: 0 !important; clip: rect(0 0 0 0) !important; @@ -1937,6 +1934,10 @@ select { -ms-flex-preferred-size: 50%; flex-basis: 50%; } + + .xs\:grid-cols-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } } @media (min-width: 640px) { diff --git a/lang/en.json b/lang/en.json index 4db05357c..ec0778922 100755 --- a/lang/en.json +++ b/lang/en.json @@ -543,7 +543,7 @@ "rma": "RMA Number", "question": "Comments/Questions", "submit": "Submit Form", - "successful": "We've received your feedback and will respond shortly if required. Continue.", + "successful": "We've received your feedback and will respond shortly if required. Continue.", "manual_captcha_instruction": "Please answer the question below for additional verification." }, "create_account": { diff --git a/tailwind.config.js b/tailwind.config.js index ae657023c..608be3d35 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -34,6 +34,9 @@ module.exports = { 'white-space': 'nowrap', width: '1px', }, + '.js-inline-message': { + color: '#dc2626', + }, }) }), ], diff --git a/templates/components/page/contact-us-form.html b/templates/components/page/contact-us-form.html index 63609e540..c3b12f51b 100644 --- a/templates/components/page/contact-us-form.html +++ b/templates/components/page/contact-us-form.html @@ -1,4 +1,4 @@ -
+ {{inject 'contactEmail' (lang 'forms.validate.contact.email_address')}} {{inject 'contactQuestion' (lang 'forms.validate.contact.question')}} @@ -10,14 +10,14 @@ -
+
{{#if forms.contact.name}} -
-