font-size: [% css_fonts.size_bigger %];
}
+/* styling for sms text call number */
+.sms_text pre {
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: [% css_fonts.size_medium %];
+ background: [% css_colors.accent_lightest %];
+ padding: .5%;
+ /* Allow text to wrap */
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
+
.mobile_view {
display:none;
}
[% IF ctx.sms_notify %]
<h1>[% l('Your message has been sent!') %]</h1>
<a href="[% ctx.origin %]">[% l('Return to record') %]</a>
- <pre>[% ctx.event.template_output.data %]</pre>
+ <div class="sms_text"><pre>[% ctx.event.template_output.data %]</pre></div>
[% ELSE %]
<h1>[% l('Text call number') %]</h1>
<a href="[% ctx.origin %]">[% l('Return to record') %]</a>
- <pre>[% ctx.event.template_output.data %]</pre>
- <blockquote>
+ <div class="sms_text"><pre>[% ctx.event.template_output.data %]</pre></div>
<form method="post">
- <blockquote>
<input type="hidden" name="copy_id" value="[% ctx.copy_id %]"/>
<input type="hidden" name="origin" value="[% ctx.origin %]"/>
[% INCLUDE "opac/parts/sms_carrier_selector.tt2" sms_carrier_hide_warning="true" %]<br/>
alt="[% l('Submit') %]"
class="opac-button" />
<br/>[% l('Note: carrier charges may apply'); %]
- </blockquote>
</form>
- </blockquote>
[% END %]
[% ELSE %]
<span>[% l('SMS not enabled for this site.') %]</span>