Skip to content

Commit 74e355a

Browse files
author
minjk-bl
committed
Edit styles on Fit/Predict and ModelInfo app
1 parent ed7479d commit 74e355a

File tree

6 files changed

+14
-4
lines changed

6 files changed

+14
-4
lines changed

css/m_ml/fitPredict.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
border: 0.25px solid var(--border-gray-color);
1919
}
2020
.vp-ins-select-list {
21-
height: 145px;
21+
height: 150px;
2222
width: 100%;
2323
list-style: none;
2424
margin: 0px;
@@ -41,4 +41,6 @@
4141
}
4242
.vp-ins-parameter-box {
4343
grid-column: 1/3;
44+
min-height: 150px;
45+
align-content: baseline;
4446
}

css/m_ml/modelInfo.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
border: 0.25px solid var(--border-gray-color);
1616
}
1717
.vp-ins-select-list {
18-
height: 145px;
18+
height: 150px;
1919
width: 100%;
2020
list-style: none;
2121
margin: 0px;
@@ -38,4 +38,6 @@
3838
}
3939
.vp-ins-parameter-box {
4040
grid-column: 1/3;
41+
min-height: 150px;
42+
align-content: baseline;
4143
}

html/m_ml/fitPredict.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<i class="fa fa-search vp-ins-search-icon"></i>
3131
</div>
3232
<div class="vp-ins-select-box action">
33-
<ul class="vp-ins-select-list action vp-scrollbar" style="height:80px">
33+
<ul class="vp-ins-select-list action vp-scrollbar">
3434
<!-- Auto Create -->
3535
</ul>
3636
</div>

html/m_ml/modelInfo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<i class="fa fa-search vp-ins-search-icon"></i>
3131
</div>
3232
<div class="vp-ins-select-box info">
33-
<ul class="vp-ins-select-list info vp-scrollbar" style="height:80px">
33+
<ul class="vp-ins-select-list info vp-scrollbar">
3434
<!-- Auto Create -->
3535
</ul>
3636
</div>

js/m_ml/FitPredict.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,9 @@ define([
257257
let type = $(this).data('var-type');
258258

259259
that.renderOptionPage(type, name);
260+
261+
let optionPage = $(that.wrapSelector('.vp-ins-parameter-box')).get(0);
262+
optionPage && optionPage.scrollIntoView();
260263
});
261264

262265
// load once on initializing page

js/m_ml/ModelInfo.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,9 @@ define([
257257
let type = $(this).data('var-type');
258258

259259
that.renderOptionPage(type, name);
260+
261+
let optionPage = $(that.wrapSelector('.vp-ins-parameter-box')).get(0);
262+
optionPage && optionPage.scrollIntoView();
260263
});
261264

262265
// load once on initializing page

0 commit comments

Comments
 (0)