From aedc12e0e3ce29ab49dbeff9f4cfe431f50ad55f Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Tue, 18 Aug 2020 17:16:39 +0100 Subject: [PATCH] Add top padding to terms file upload input in enterprises form --- app/assets/stylesheets/admin/shared/typography.scss | 4 ++++ app/views/admin/enterprises/form/_business_details.html.haml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/admin/shared/typography.scss b/app/assets/stylesheets/admin/shared/typography.scss index 16d1b86b5d..79ecba0510 100644 --- a/app/assets/stylesheets/admin/shared/typography.scss +++ b/app/assets/stylesheets/admin/shared/typography.scss @@ -150,3 +150,7 @@ dl { input.text-big { font-size: 1.1rem; } + +.pad-top { + padding-top: 1em; +} diff --git a/app/views/admin/enterprises/form/_business_details.html.haml b/app/views/admin/enterprises/form/_business_details.html.haml index 84686fafbe..c275ca7f89 100644 --- a/app/views/admin/enterprises/form/_business_details.html.haml +++ b/app/views/admin/enterprises/form/_business_details.html.haml @@ -39,5 +39,5 @@ .omega.eight.columns %a{ href: '{{ Enterprise.terms_and_conditions }}', ng: { if: 'Enterprise.terms_and_conditions' } } = '{{ Enterprise.terms_and_conditions_file_name }}' - %p + .pad-top = f.file_field :terms_and_conditions