From 77fc3ef154699ac4a085fb169d33b239cd2b890d Mon Sep 17 00:00:00 2001 From: Alice Picot Date: Thu, 29 Nov 2018 21:17:17 +0000 Subject: [PATCH] homepage looking normal again --- app/assets/stylesheets/components/_forms.scss | 7 ++++++- app/assets/stylesheets/pages/home.scss | 2 +- app/views/events/new.html.erb | 4 ++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/components/_forms.scss b/app/assets/stylesheets/components/_forms.scss index dcf0ea4..2e4ad9c 100644 --- a/app/assets/stylesheets/components/_forms.scss +++ b/app/assets/stylesheets/components/_forms.scss @@ -178,6 +178,12 @@ input.button { .edit-form{ display: flex; width: 100% !important; + .currencyinput { + border: 1px inset #ccc; + } + .currencyinput input { + border: 0; + } } .user_first_name { @@ -195,4 +201,3 @@ input#user_photo { } - diff --git a/app/assets/stylesheets/pages/home.scss b/app/assets/stylesheets/pages/home.scss index d4350ef..49ded76 100755 --- a/app/assets/stylesheets/pages/home.scss +++ b/app/assets/stylesheets/pages/home.scss @@ -7,7 +7,7 @@ } .banner { - margin: auto; + margin-left: 40px; height: calc(100vh - 150px); background-repeat: no-repeat; } diff --git a/app/views/events/new.html.erb b/app/views/events/new.html.erb index ec17a09..49bd0ae 100644 --- a/app/views/events/new.html.erb +++ b/app/views/events/new.html.erb @@ -18,16 +18,20 @@ placeholder: "Description", input_html: { class: "form-inputs" } %>
+ £ <%= f.input :min_price, label: false, required: false, placeholder: "Minimum Price", input_html: { class: "form-inputs" } %> + + £ <%= f.input :max_price, label: false, required: false, placeholder: "Maximum Price", input_html: { class: "form-inputs" } %> +
<%= f.input :date,