Skip to content

Commit

Permalink
Improved samples table size
Browse files Browse the repository at this point in the history
  • Loading branch information
airenzp authored and xzhou82 committed Feb 7, 2025
1 parent 426f39b commit e34d6d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/plots/singleCellPlot.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ class singleCellPlot {
renderTable({
rows,
columns,
maxHeight: '70vh',
maxHeight: '60vh',
maxWidth: '45vw',
div: DETableDiv,
singleMode: true,
Expand Down Expand Up @@ -1307,7 +1307,7 @@ class singleCellPlot {
singleMode: true,
div: tableDiv,
maxWidth: columns.length > 3 ? '90vw' : '40vw',
maxHeight: '50vh',
maxHeight: '65vh',
noButtonCallback: index => {
// NOTE that "index" is not array index of this.samples[]
const sample = rows[index][0].value
Expand Down Expand Up @@ -1375,7 +1375,7 @@ class singleCellPlot {
for (const c of s.sampleColumns || []) {
columns.push({
label: (await this.app.vocabApi.getterm(c.termid)).name,
width: '15vw'
width: '14vw'
})
}

Expand Down

0 comments on commit e34d6d7

Please sign in to comment.