Skip to content

Commit b6ab817

Browse files
author
martina
committed
fix rowMargin default value
1 parent 178c81f commit b6ab817

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sequence-viewer-typescript",
3-
"version": "1.0.39",
3+
"version": "1.0.40",
44
"main": "index.js",
55
"types": "index.d.ts",
66
"scripts": {

src/lib/options.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export class OptionsModel {
188188
}
189189
} else {
190190
Log.w(2, 'rowMarginBottom not set.');
191-
this.options.rowMarginBottom = '14px'; // default reset
191+
this.options.rowMarginBottom = '5px'; // default reset
192192
}
193193

194194
/** check oneLineSetting value */

src/lib/sequence.viewer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ export class SequenceViewer {
186186
if (topIndexes) {
187187
let chunkTopIndex;
188188
if (x % chunkSize === 0 && x <= maxTop) {
189-
chunkTopIndex = `<span class="cell" style="-webkit-user-select: none;direction: rtl;display:block;width:0.6em;margin-bottom:${rowMarginBottom}"">${x}</span>`;
189+
chunkTopIndex = `<span class="cell" style="-webkit-user-select: none;direction: rtl;display:block;width:0.6em;margin-bottom:${rowMarginBottom}">${x}</span>`;
190190

191191
} else {
192-
chunkTopIndex = `<span class="cell" style="-webkit-user-select: none;display:block;visibility: hidden;margin-bottom:${rowMarginBottom}"">0</span>`;
192+
chunkTopIndex = `<span class="cell" style="-webkit-user-select: none;display:block;visibility: hidden;margin-bottom:${rowMarginBottom}">0</span>`;
193193
}
194194
cells += chunkTopIndex;
195195
}

0 commit comments

Comments
 (0)