@cu-mkp/editioncrafter 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editioncrafter.min.js +1 -1
- package/dist/es/src/component/ImageGridView.js +2 -1
- package/dist/es/src/component/Navigation.js +4 -2
- package/dist/es/src/component/SplitPaneView.js +2 -1
- package/dist/es/src/scss/_imageView.scss +4 -0
- package/dist/es/src/scss/_imageZoomControl.scss +1 -1
- package/dist/es/src/scss/_navigation.scss +1 -1
- package/dist/es/src/scss/_pagination.scss +4 -0
- package/package.json +1 -1
|
@@ -163,7 +163,8 @@ var ImageGridView = /*#__PURE__*/function (_React$Component) {
|
|
|
163
163
|
id: "doc-filter",
|
|
164
164
|
className: "dark",
|
|
165
165
|
style: {
|
|
166
|
-
color: 'white'
|
|
166
|
+
color: 'white',
|
|
167
|
+
fontSize: 'max(16px, 1rem)'
|
|
167
168
|
},
|
|
168
169
|
value: this.state.currentDoc || Object.keys(this.props.document.derivativeNames)[0],
|
|
169
170
|
onClick: this.onSelectDoc
|
|
@@ -239,7 +239,8 @@ var Navigation = function Navigation(props) {
|
|
|
239
239
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
240
240
|
className: selectClass,
|
|
241
241
|
style: _objectSpread(_objectSpread({}, selectColorStyle), {}, {
|
|
242
|
-
marginRight: 15
|
|
242
|
+
marginRight: 15,
|
|
243
|
+
fontSize: 'max(16px, 1rem)'
|
|
243
244
|
}),
|
|
244
245
|
value: documentView[side].transcriptionType,
|
|
245
246
|
id: "doc-type",
|
|
@@ -311,7 +312,8 @@ var Navigation = function Navigation(props) {
|
|
|
311
312
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
312
313
|
className: selectClass,
|
|
313
314
|
style: _objectSpread(_objectSpread({}, selectColorStyle), {}, {
|
|
314
|
-
marginRight: 15
|
|
315
|
+
marginRight: 15,
|
|
316
|
+
fontSize: 'max(16px, 1rem)'
|
|
315
317
|
}),
|
|
316
318
|
value: documentView[side].transcriptionType,
|
|
317
319
|
id: "doc-type",
|
|
@@ -40,6 +40,7 @@ var SplitPaneView = /*#__PURE__*/function (_Component) {
|
|
|
40
40
|
}
|
|
41
41
|
// Update as long as we're within limits
|
|
42
42
|
if (left_viewWidth >= _this.leftPaneMinWidth && right_viewWidth >= _this.rightPaneMinWidth && third_viewWidth >= _this.thirdPaneMinWidth) {
|
|
43
|
+
console.log(whole, left_viewWidth, third_viewWidth);
|
|
43
44
|
_this.splitFraction = whole === 0 ? 0.0 : left_viewWidth / whole;
|
|
44
45
|
_this.splitFractionRight = whole === 0 ? 0.0 : third_viewWidth / whole;
|
|
45
46
|
_this.updateUI();
|
|
@@ -76,7 +77,7 @@ var SplitPaneView = /*#__PURE__*/function (_Component) {
|
|
|
76
77
|
var split_third = 1 - split_left - split_right;
|
|
77
78
|
_this.state = {
|
|
78
79
|
style: {
|
|
79
|
-
gridTemplateColumns: "".concat(
|
|
80
|
+
gridTemplateColumns: "".concat(_this.splitFraction, "fr ").concat(_this.dividerWidth, "px ").concat(1 - _this.splitFraction - _this.splitFractionRight, "fr ").concat(_this.dividerWidth, "px ").concat(_this.splitFractionRight, "fr")
|
|
80
81
|
}
|
|
81
82
|
};
|
|
82
83
|
|