mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: Set param panel height to 400
This commit is contained in:
parent
881695a6b4
commit
dd08e38d97
3 changed files with 4 additions and 5 deletions
|
|
@ -213,9 +213,9 @@ limitations under the License.
|
|||
</span>
|
||||
<div style="clear: both;"></div> <!-- to fix previous span which has float: right -->
|
||||
</div>
|
||||
<div class="panel-body" style="height: 370px; overflow-y: auto;"
|
||||
<div class="panel-body"
|
||||
ng-if="config.panel.parameterPanelOpened"
|
||||
style="padding-top: 13px; padding-bottom: 13px;">
|
||||
style="padding-top: 13px; padding-bottom: 13px; height: 400px; overflow: auto;">
|
||||
<table class="table table-striped">
|
||||
<tr>
|
||||
<th style="font-size: 12px; font-style: italic">Name</th>
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ export function initializeConfig(config, spec) {
|
|||
spec.version = currentVersion
|
||||
delete config.chart /** Object: contains current, available chart */
|
||||
delete config.spec /** Object: axis, parameter spec for each chart */
|
||||
config.panel = { columnPanelOpened: true, parameterPanelOpened: true, }
|
||||
config.panel = { columnPanelOpened: true, parameterPanelOpened: false, }
|
||||
|
||||
delete config.axisSpecs /** Object: persisted axisSpecs for each chart */
|
||||
delete config.paramSpecs /** Object: persisted paramSpecs for each chart */
|
||||
|
|
|
|||
|
|
@ -145,12 +145,11 @@ class AdvancedTransformation extends Transformation {
|
|||
const code = event.keyCode || event.which;
|
||||
if (code === 13 && isInputWidget(paramSpec)) {
|
||||
self.emitConfig(configInstance)
|
||||
|
||||
} else if (code === 13 && event.shiftKey && isTextareaWidget(paramSpec)) {
|
||||
self.emitConfig(configInstance)
|
||||
}
|
||||
|
||||
event.stopPropagation(); /** avoid to conflict with paragraph shortcuts */
|
||||
event.stopPropagation() /** avoid to conflict with paragraph shortcuts */
|
||||
},
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue