Skip to content

Commit

Permalink
adjust margin for language tag
Browse files Browse the repository at this point in the history
  • Loading branch information
alexskr committed Feb 12, 2025
1 parent ca656e6 commit c88f491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/multi_languages_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def display_in_multiple_languages(label, show_max: 10, style_as_badge: false, sh
Array(value).map do |v|
content_tag(:div, class: 'definition') do
concat content_tag(:span, v)
concat content_tag(:span, key.downcase, class: 'badge bg-secondary m-1') unless key.to_s.upcase.eql?('NONE') || key.to_s.upcase.eql?('@NONE')
concat content_tag(:span, key.downcase, class: 'badge bg-secondary ms-1') unless key.to_s.upcase.eql?('NONE') || key.to_s.upcase.eql?('@NONE')
end
end.join
end.join)
Expand Down

0 comments on commit c88f491

Please sign in to comment.