Skip to content

Commit

Permalink
NBNP-331 Prevent wrap in middle of Holdings info modal link
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmcd75 committed Aug 9, 2023
1 parent 9a5a418 commit 88d3232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom/modules/newspapers_core/newspapers_core.module
Original file line number Diff line number Diff line change
Expand Up @@ -1319,9 +1319,9 @@ function _newspapers_core_get_rendered_institution(string $holding_type, SerialH
->value;
}
if(!empty($inst_description) && !empty($holding_identifier)) {
$inst_string .= ' (<button class="btn btn-link p-0 text-left"
$inst_string .= ' <span class="text-nowrap">(<button class="btn btn-link p-0 text-left"
data-target="#Dialog-' . $holding_identifier . '" data-toggle="modal" type="button">' .
'<span class="fas fa-question-circle fa-sm mr-1" aria-hidden="true"></span><small>info</small></button>)
'<span class="fas fa-question-circle fa-sm mr-1" aria-hidden="true"></span><small>info</small></button>)</span>
<div id="Dialog-' . $holding_identifier . '" class="modal fade" aria-hidden="true"
aria-labelledby="' . 'Label-' . $holding_identifier . '" role="dialog" tabindex="-1">' .
'<div class="modal-dialog modal-xl">
Expand Down

0 comments on commit 88d3232

Please sign in to comment.