From bf244e2bfaf8173b5552d36e7721d6e99040d4c5 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Wed, 16 Dec 2015 19:03:01 +0100 Subject: [PATCH] Add padding-bottom to ascribe-property instead of ascribe-property-wrapper Avoids having to style all the collapsible Properties with `padding-bottom: 0` to center labels when collapsed. --- js/components/ascribe_forms/form_consign.js | 3 +-- js/components/ascribe_forms/form_copyright_association.js | 5 ++--- js/components/ascribe_forms/form_loan.js | 3 +-- .../ascribe_forms/form_send_contract_agreement.js | 3 +-- js/components/ascribe_forms/form_signup.js | 5 ++--- js/components/ascribe_forms/form_submit_to_prize.js | 3 +-- .../ascribe_forms/input_contract_agreement_checkbox.js | 2 +- js/components/ascribe_settings/account_settings.js | 5 ++--- .../components/pr_forms/pr_register_piece_form.js | 3 +-- .../prize/simple_prize/components/prize_register_piece.js | 3 +-- sass/ascribe_property.scss | 8 ++------ 11 files changed, 15 insertions(+), 28 deletions(-) diff --git a/js/components/ascribe_forms/form_consign.js b/js/components/ascribe_forms/form_consign.js index 2f0ebf05..c92f4b6f 100644 --- a/js/components/ascribe_forms/form_consign.js +++ b/js/components/ascribe_forms/form_consign.js @@ -115,8 +115,7 @@ let ConsignForm = React.createClass({ + className="ascribe-property-collapsible-toggle"> diff --git a/js/components/ascribe_forms/form_copyright_association.js b/js/components/ascribe_forms/form_copyright_association.js index c378ddba..124a980a 100644 --- a/js/components/ascribe_forms/form_copyright_association.js +++ b/js/components/ascribe_forms/form_copyright_association.js @@ -48,8 +48,7 @@ let CopyrightAssociationForm = React.createClass({ + label={getLangText('Copyright Association')}>