When using the inline editor, prevent text wrapping and instead allow
the text to overflow x and y and use scrolls to navigate.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Elaine Hardy <ehardy@georgialibraries.org>
</div>
<div class="flex-row" style="overflow:scroll">
- <div ng-if="lead_id" class="flex-1">
+ <div ng-if="lead_id"
+ ng-class="{'record-merge-container': !editing_inplace, 'record-edit-container': editing_inplace}">
<tabset>
<tab heading="[% l('Bib [_1]', '{{lead_id}}') %]">
<button class="btn btn-default btn-sm" ng-class="{disabled : editing_inplace}"
white-space: pre-wrap;
}
+/* Avoid word wrapping in edit mode and add scrolls for navigation */
+.record-edit-container {
+ flex: 1;
+ overflow-x: scroll;
+ overflow-y: scroll;
+ white-space: nowrap;
+}
+