Skip to content

Commit 77c1620

Browse files
committed
chore: remove padding from right track titiles
1 parent 23537dd commit 77c1620

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/App.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@ function App(props: RouteComponentProps) {
343343

344344
// Enable Bootstrap popovers for track tooltips, update for selected SV tracks
345345
useEffect(() => {
346-
console.log('update popovers');
347346
const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="popover"]');
348347
const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl));
349348
}, [selectedSvId]);

src/alignment.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export function alignment(option: SpecOption, isLeft: boolean): GoslingSpec {
9898
return {
9999
id: `${id}-bottom-${isLeft ? 'left' : 'right'}-bam`,
100100
alignment: 'overlay',
101-
title: '  Alignment',
101+
title: isLeft ? '  Alignment' : ' Alignment',
102102
data: { type: 'bam', url: bam, indexUrl: bai, loadMates: false },
103103
mark: 'rect',
104104
experimental: {

src/main-spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function generateSpec(opt: SpecOption): GoslingSpec {
180180
: []),
181181
{
182182
id: `${id}-bottom-right-sequence`,
183-
title: '  Sequence',
183+
title: ' Sequence',
184184
alignment: 'overlay',
185185
data: {
186186
url: 'https://server.gosling-lang.org/api/v1/tileset_info/?d=sequence-multivec',

src/track/coverage.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default function coverage(option: SpecOption, isLeft: boolean): Partial<S
55
const { id, bam, bai, width, svReads, crossChr, bpIntervals } = option;
66
return {
77
id: `${id}-bottom-${isLeft ? 'left' : 'right'}-coverage`,
8-
title: '  Coverage',
8+
title: isLeft ? '  Coverage' : ' Coverage',
99
data: {
1010
type: 'bam',
1111
url: bam,

0 commit comments

Comments
 (0)