From f268a31538dc0af4504b42bef49c39cc0a51c672 Mon Sep 17 00:00:00 2001 From: Rhys Evans <EvansRM17@cardiff.ac.uk> Date: Tue, 28 Nov 2023 16:46:25 +0000 Subject: [PATCH] Increased box-size of description input to match the 200 word limit, asdjusted form-width to compensate --- src/main/resources/static/css/landmarkFormStyle.css | 2 +- src/main/resources/templates/Landmarks/LandmarkFormTh.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/static/css/landmarkFormStyle.css b/src/main/resources/static/css/landmarkFormStyle.css index 2d5b27d5..c18c0f1a 100644 --- a/src/main/resources/static/css/landmarkFormStyle.css +++ b/src/main/resources/static/css/landmarkFormStyle.css @@ -10,7 +10,7 @@ body{ align-content: center; text-align: center; border-radius: 25px; - max-width: 600px; + max-width: 620px; margin: 0 auto } diff --git a/src/main/resources/templates/Landmarks/LandmarkFormTh.html b/src/main/resources/templates/Landmarks/LandmarkFormTh.html index 2c448b9c..9690356f 100644 --- a/src/main/resources/templates/Landmarks/LandmarkFormTh.html +++ b/src/main/resources/templates/Landmarks/LandmarkFormTh.html @@ -26,7 +26,7 @@ </label><br> <div th:errors="*{landmarkEmail}" th:if="${#fields.hasErrors('landmarkEmail')}">ErrorEmail</div> <br><label>Please Describe Your Business:<br> - <textarea th:field="*{landmarkDescription}" rows="8" cols="60" placeholder="Max 200 words please..."></textarea> + <textarea th:field="*{landmarkDescription}" rows="18" cols="70" placeholder="Max 200 words please..."></textarea> </label><br><br> <label>Your Location: <select th:field="*{landmarkLocation}"> -- GitLab