Skip to content

Commit c16cb89

Browse files
author
minjk-bl
committed
Edit style to show scrollbar on Seaborn option page
1 parent 1b8cc36 commit c16cb89

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

visualpython/css/m_visualize/seaborn.css

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,28 @@
4747
height: 100%;
4848
}
4949
.vp-tab-page-box.figure {
50-
height: calc(100% - 30px);
50+
height: 100%;
5151
align-content: baseline;
5252
grid-template-rows: 1fr;
53+
overflow: hidden;
54+
}
55+
.vp-tab-page-box.figure > .vp-tab-page {
56+
overflow: auto;
5357
}
5458
.vp-tab-page-box.plot {
55-
height: calc(100% - 30px);
56-
min-height: 352px;
59+
/* height: calc(100% - 30px);
60+
min-height: 352px; */
5761
align-content: baseline;
62+
height: 100%;
63+
max-height: 100%;
64+
overflow: scroll;
65+
padding: 15px 15px 0px 15px;
5866
}
5967
.vp-chart-plot-box {
6068
height: 100%;
69+
display: grid;
70+
grid-template-rows: 30px calc(100% - 30px);
71+
overflow: auto;
6172
}
6273
.vp-chart-body {
6374
display: grid;
@@ -75,6 +86,14 @@
7586
.vp-chart-left-box,
7687
.vp-chart-right-box {
7788
height: 100%;
89+
display: grid;
90+
grid-template-rows: 30px calc(100% - 30px);
91+
}
92+
.vp-chart-left-box {
93+
overflow: auto;
94+
}
95+
.vp-chart-right-box {
96+
overflow: hidden;
7897
}
7998
.vp-chart-preview-title {
8099
line-height: 30px;
@@ -86,7 +105,8 @@
86105
.vp-chart-preview-box {
87106
min-height: 352px;
88107
width: 100%;
89-
height: calc(100% - 30px);
108+
/* height: calc(100% - 30px); */
109+
height: 100%;
90110
}
91111
.vp-chart-preview-content:empty::after {
92112
content: 'No preview image';

0 commit comments

Comments
 (0)