Skip to content

Commit

Permalink
add tailwind clases
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Jan 18, 2024
1 parent 540b6ec commit 69d14bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<% form.fields_for :settings, settings do |settings_fields| %>
<%= settings_fields.translated :text_field, :body_title, label: t(".body_title") unless theme == :capitalitat %>
<%= settings_fields.translated :text_field, :body_subtitle, label: t(".body_subtitle") unless theme == :capitalitat %>
<ul id="box-container" class="accordion" data-accordion data-multi-expand="true" data-allow-all-closed="true">
<ul id="box-container" class="accordion p-4" data-accordion data-multi-expand="true" data-allow-all-closed="true">
<% (1..4).each do |num| %>
<li class="box accordion-item cursor-pointer" id="box<%= num %>" data-accordion-item>
<a href="#" class="accordion-title body-box-title"><%= t(".boxes_number_title", number: num) %>:</a>
Expand Down Expand Up @@ -62,7 +62,7 @@
<% form.fields_for :settings, settings do |settings_fields| %>
<%= settings_fields.translated :text_field, :footer_title, label: t(".footer_title") %>

<ul id="footer-container" class="accordion" data-accordion data-multi-expand="true" data-allow-all-closed="true">
<ul id="footer-container" class="accordion p-4" data-accordion data-multi-expand="true" data-allow-all-closed="true">
<% (1..3).each do |num| %>
<li class="box accordion-item" id="box<%= num %>" data-accordion-item>
<a href="#" class="accordion-title body-box-title"><%= t(".boxes_number_title", number: num) %>:</a>
Expand Down
4 changes: 0 additions & 4 deletions app/packs/entrypoints/decidim_newsletter_agenda.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ button#newsletter_images_main_image_button {
cursor: pointer;
}

#box-container {
margin-bottom: 1.5rem;
}

.accordion {
.accordion-title,
.accordion-item:first-child > :first-child,
Expand Down

0 comments on commit 69d14bb

Please sign in to comment.