Simplify styles for the remote translations message

Instead of adding all the styles of a callout and then overwriting half
of them, we can simply add the half we need.
This commit is contained in:
Javi Martín
2023-01-30 15:38:57 +01:00
parent 9bca73bc8b
commit fb2b88b10a
4 changed files with 18 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
<div class="remote-translations-button callout primary">
<div class="remote-translations-button">
<% if display_remote_translation_button? %>
<%= form_tag remote_translations_path do %>
<%= hidden_field_tag :remote_translations, remote_translations.to_json %>