Skip to content

Commit accb674

Browse files
authored
Merge pull request #22 from Caleydo/scrollbar-fix
2 parents d755771 + f5ee37a commit accb674

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

dist/Taskview/visualizations/DensityPlot.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/scss/components/task/_filter.scss

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Taskview/visualizations/DensityPlot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class DensityPlot extends SingleAttributeVisualization {
3535
$schema: 'https://vega.github.io/schema/vega/v5.json',
3636
autosize: {type: 'fit-x', contains: 'padding'},
3737
background: 'white',
38-
padding: {left: 5, top: 0, right: 5, bottom: 5},
38+
padding: {left: 5, top: 0, right: 0, bottom: 5},
3939
height: 300,
4040
style: 'cell',
4141
encode: {update: {cursor: {value: 'text'}}},

src/scss/components/task/_filter.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@
3636

3737
.vis-container {
3838
display: grid;
39-
grid-template-columns: 1fr 12em;
39+
grid-template-columns: 1fr 14em;
4040
gap: 1em;
4141
grid-template-areas:
4242
"vis controls"
4343
"legend legend";
44+
width: calc(100% - 1em); // save some space for scrollbar
4445

4546
.controls {
4647
grid-area: controls;

0 commit comments

Comments
 (0)