@teselagen/ove 0.3.63 → 0.3.64

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.
@@ -1,10 +1,13 @@
1
1
  .veLinearView .veRowItemWrapper {
2
2
  display: flex;
3
3
  justify-content: center;
4
- }
5
- .veLinearView.isLinViewZoomed .veRowItemWrapper {
6
4
  overflow: auto;
7
5
  }
6
+
7
+ /* tnw: we had added overflow: auto; only when isLinViewZoomed to prevent the scrollbar from showing up in cases where we didn't want it. We'll need to figure how to prevent the scrollbar from appearing in a different way since we DO need to the scrollbar in certain cases even when isLinViewZoomed=false */
8
+ /* .veLinearView.isLinViewZoomed .veRowItemWrapper {
9
+ overflow: auto;
10
+ } */
8
11
  .sequenceNameText {
9
12
  text-align: center;
10
13
  padding-top: 20px;
@@ -111,8 +111,11 @@ const Axis = function (props) {
111
111
  i === 0 //if first label in row, or last label in row, we add checks to make sure the axis number labels don't go outside of the width of the row
112
112
  ? Math.max(positionLength, xCenter)
113
113
  : i === tickMarkPositions.length - 1
114
- ? Math.min(bpsPerRow * charWidth - positionLength, xCenter)
115
- : xCenter;
114
+ ? Math.min(bpsPerRow * charWidth - positionLength, xCenter)
115
+ : xCenter;
116
+ }
117
+ if (i === tickMarkPositions.length - 1) {
118
+ x = Math.min(x, xEnd - positionLength / 2);
116
119
  }
117
120
  tickMarkSVG.push(
118
121
  <text
package/src/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import "@fontsource/ubuntu-mono/400.css";
1
2
  import { FocusStyleManager } from "@blueprintjs/core";
2
3
  import { showContextMenu } from "@teselagen/ui";
3
4
  import "./createVectorEditor";
package/src/style.css CHANGED
@@ -1,11 +1,14 @@
1
1
  .ve-monospace-font {
2
- font-family: Monaco, monospace;
3
- font-size: 11px;
2
+ font-family: "Ubuntu Mono", Monaco, monospace;
3
+ font-size: 12px;
4
4
  }
5
5
  .rowViewTextContainer text {
6
6
  user-select: none;
7
7
  }
8
- .translationLayer text {
8
+ .translationLayer text,
9
+ .tg-prime-direction,
10
+ .sequenceNameText,
11
+ .veAxis text {
9
12
  user-select: none;
10
13
  }
11
14
  .ve-sequence-reverse {