Skip to content

Commit

Permalink
Merge pull request #1839 from MushroomObserver/nimmo-comments-for-object
Browse files Browse the repository at this point in the history
Fix propose name link display inline-block
  • Loading branch information
nimmolo committed Jan 20, 2024
2 parents d62c828 + 2e3bc4d commit 495b5fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/mo/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,10 @@
display: block;
}

.d-sm-inline-block {
display: inline-block;
}

.d-sm-flex {
display: flex;
}
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/namings_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def observation_naming_buttons(obs, do_suggestions)
buttons << propose_naming_link(
obs.id,
text: :show_namings_propose_new_name.t,
btn_class: "btn btn-default btn-sm d-none d-sm-block",
btn_class: "btn btn-default btn-sm d-none d-sm-inline-block",
context: "namings_table"
)
buttons << suggest_namings_link(obs) if do_suggestions
Expand Down

0 comments on commit 495b5fc

Please sign in to comment.