From b21f93641bdc9ba39aba32b4016e60ec9b1e08fa Mon Sep 17 00:00:00 2001 From: f Date: Tue, 28 May 2024 18:37:33 -0300 Subject: [PATCH] fix: usar clases --- app/assets/stylesheets/application.scss | 4 ---- app/views/sites/_form.haml | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 7a082ae8..8fe16152 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -322,10 +322,6 @@ svg { .designs { .design { margin-top: 1rem; - - .custom-control-label { - font-weight: bold; - } } } diff --git a/app/views/sites/_form.haml b/app/views/sites/_form.haml index ec2712bf..258f28d3 100644 --- a/app/views/sites/_form.haml +++ b/app/views/sites/_form.haml @@ -64,7 +64,7 @@ disabled: design.disabled, required: true, class: 'custom-control-input' = f.label "design_id_#{design.id}", design.name, - class: 'custom-control-label' + class: 'custom-control-label font-weight-bold' .flex-fill = sanitize_markdown design.description, tags: %w[p a strong em] @@ -93,7 +93,7 @@ = f.radio_button :licencia_id, licencia.id, checked: licencia.id == site.licencia_id, required: true, class: 'custom-control-input' - = f.label "licencia_id_#{licencia.id}", class: 'custom-control-label' do + = f.label "licencia_id_#{licencia.id}", class: 'custom-control-label font-weight-bold' do = licencia.name = sanitize_markdown licencia.description, tags: %w[p a strong em ul ol li h1 h2 h3 h4 h5 h6]