@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.
@@ -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(split_left, "fr ").concat(_this.dividerWidth, "px ").concat(split_right, "fr ").concat(_this.dividerWidth, "px ").concat(split_third, "fr")
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
 
@@ -18,6 +18,10 @@
18
18
  max-height: 100dvh;
19
19
  }
20
20
 
21
+ .imageViewComponent .navigationComponent {
22
+ position: absolute;
23
+ }
24
+
21
25
  .a9s-annotation.a9s-annotation.selected > rect,
22
26
  .a9s-annotation.a9s-annotation.selected > polygon
23
27
  {
@@ -18,7 +18,7 @@
18
18
 
19
19
  .ImageZoomControl > li {
20
20
  color: #E0E0E0;
21
- margin: 0;
21
+ margin: 0 !important;
22
22
  }
23
23
 
24
24
  .ImageZoomControl > li > .zoom-in {
@@ -2,7 +2,7 @@
2
2
  #tool-bar-buttons{
3
3
  font-size: 15px;
4
4
  }
5
- position: absolute;
5
+ position: sticky;
6
6
  display: none;
7
7
  z-index: 2;
8
8
  height:48px;
@@ -34,6 +34,10 @@
34
34
  display: inline-block;
35
35
  }
36
36
 
37
+ .arrow svg {
38
+ font-size: inherit !important;
39
+ }
40
+
37
41
  .paginationControl .folioName {
38
42
  position: relative;
39
43
  top: min(-.2rem, -3.2px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cu-mkp/editioncrafter",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "description": "A simple digital critical edition publication tool",
5
5
  "homepage": "https://cu-mkp.github.io/editioncrafter/",
6
6
  "private": false,