diff --git a/bullet_train-themes-light/app/views/themes/light/_box.html.erb b/bullet_train-themes-light/app/views/themes/light/_box.html.erb index f9ac441a0..519674f84 100644 --- a/bullet_train-themes-light/app/views/themes/light/_box.html.erb +++ b/bullet_train-themes-light/app/views/themes/light/_box.html.erb @@ -7,19 +7,21 @@ <% pagy ||= nil %>
overflow-hidden <%= border_top ? "border-t dark:border-slate-500" : "" %>"> -
- <% if partial.title? %> -

- <%= partial.title %> -

- <% end %> + <% if partial.title? || partial.description? %> +
+ <% if partial.title? %> +

+ <%= partial.title %> +

+ <% end %> - <% if partial.description? %> -

- <%= partial.description %> -

- <% end %> -
+ <% if partial.description? %> +

+ <%= partial.description %> +

+ <% end %> +
+ <% end %>
<% if partial.table? %>