diff --git a/app/app/assets/stylesheets/admin/field.css b/app/app/assets/stylesheets/admin/field.css index 59224d0..2887349 100644 --- a/app/app/assets/stylesheets/admin/field.css +++ b/app/app/assets/stylesheets/admin/field.css @@ -1,7 +1,7 @@ .admin-field { - min-height: 2rem; display: flex; - gap: 1rem; + flex-direction: column; + gap: 0.25rem; .admin-field__label, .admin-field__value { display: flex; diff --git a/app/app/assets/stylesheets/admin/fields.css b/app/app/assets/stylesheets/admin/fields.css index 4e1e370..b50d3c4 100644 --- a/app/app/assets/stylesheets/admin/fields.css +++ b/app/app/assets/stylesheets/admin/fields.css @@ -1,5 +1,5 @@ .admin-fields { display: flex; flex-direction: column; - gap: 1rem; + gap: 2.0rem; } diff --git a/app/app/views/admin/game_fields/_form.html.haml b/app/app/views/admin/game_fields/_form.html.haml index f4c1423..0a9519f 100644 --- a/app/app/views/admin/game_fields/_form.html.haml +++ b/app/app/views/admin/game_fields/_form.html.haml @@ -14,7 +14,7 @@ .admin-field__label = GameField.human_attribute_name(:name) .admin-field__value - = form.text_field :name, class: 'admin-form-text_field', required: true + = form.text_field :name, class: 'admin-form-text_field is-long', required: true .admin-fields__field .admin-field .admin-field__label diff --git a/app/app/views/admin/teams/team_profiles/_form.html.haml b/app/app/views/admin/teams/team_profiles/_form.html.haml index 63a4653..2119a55 100644 --- a/app/app/views/admin/teams/team_profiles/_form.html.haml +++ b/app/app/views/admin/teams/team_profiles/_form.html.haml @@ -5,19 +5,19 @@ .admin-field__label = TeamProfile.human_attribute_name(:x_url) .admin-field__value - = form.url_field :x_url, class: 'admin-form-text_field' + = form.url_field :x_url, class: 'admin-form-text_field is-long' .admin-fields__field .admin-field .admin-field__label = TeamProfile.human_attribute_name(:instagram_url) .admin-field__value - = form.url_field :instagram_url, class: 'admin-form-text_field' + = form.url_field :instagram_url, class: 'admin-form-text_field is-long' .admin-fields__field .admin-field .admin-field__label = TeamProfile.human_attribute_name(:homepage_url) .admin-field__value - = form.url_field :homepage_url, class: 'admin-form-text_field' + = form.url_field :homepage_url, class: 'admin-form-text_field is-long' - if team_profile.errors.any? .admin-fields__field .admin-form-errors