Skip to content

Commit

Permalink
fixing long sequence name overlapping with linear view zoom slider
Browse files Browse the repository at this point in the history
  • Loading branch information
tnrich committed Nov 15, 2023
1 parent ae0a999 commit 0bd92d1
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 24 deletions.
42 changes: 21 additions & 21 deletions output.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,26 @@
"implicitDependencies": []
}
},
"shared-demo": {
"name": "shared-demo",
"type": "lib",
"data": {
"root": "packages/shared-demo",
"sourceRoot": "packages/shared-demo",
"name": "shared-demo",
"projectType": "library",
"targets": {
"nx-release-publish": {
"dependsOn": ["^nx-release-publish"],
"executor": "@nx/js:release-publish",
"options": {},
"configurations": {}
}
},
"implicitDependencies": [],
"tags": []
}
},
"bio-parsers": {
"name": "bio-parsers",
"type": "lib",
Expand Down Expand Up @@ -330,26 +350,6 @@
"implicitDependencies": []
}
},
"shared-demo": {
"name": "shared-demo",
"type": "lib",
"data": {
"root": "packages/shared-demo",
"sourceRoot": "packages/shared-demo",
"name": "shared-demo",
"projectType": "library",
"targets": {
"nx-release-publish": {
"dependsOn": ["^nx-release-publish"],
"executor": "@nx/js:release-publish",
"options": {},
"configurations": {}
}
},
"implicitDependencies": [],
"tags": []
}
},
"file-utils": {
"name": "file-utils",
"type": "lib",
Expand Down Expand Up @@ -766,6 +766,7 @@
}
],
"bounce-loader": [],
"shared-demo": [],
"bio-parsers": [
{
"source": "bio-parsers",
Expand All @@ -779,7 +780,6 @@
}
],
"range-utils": [],
"shared-demo": [],
"file-utils": [],
"uploader": [],
"ove": [
Expand Down
2 changes: 1 addition & 1 deletion packages/ove/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teselagen/ove",
"version": "0.3.57",
"version": "0.3.58",
"main": "./src/index.js",
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ove/src/LinearView/SequenceName.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";

export function SequenceName({ sequenceName, sequenceLength, isProtein }) {
return (
<div key="circViewSvgCenterText" style={{ textAlign: "center" }}>
<div key="sequenceNameText" className="sequenceNameText">
<span>{sequenceName} </span>
<br />
<span>
Expand Down
5 changes: 4 additions & 1 deletion packages/ove/src/LinearView/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
.veLinearView.isLinViewZoomed .veRowItemWrapper {
overflow: auto;
}

.sequenceNameText {
text-align: center;
padding-top: 20px;
}
/* .tg-pinch-helper {
touch-action: none;
-moz-user-select: none;
Expand Down

0 comments on commit 0bd92d1

Please sign in to comment.