Skip to content

Commit d1fa289

Browse files
committed
v3
1 parent 7455986 commit d1fa289

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

resources/assets/component.css

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
user-select: none!important;
1414
text-align: left;
1515
-webkit-appearance: none!important;
16-
-webkit-box-sizing: unset!important;
17-
-moz-box-sizing: unset!important;
18-
box-sizing: unset!important;
16+
-webkit-box-sizing: border-box!important;
17+
-moz-box-sizing: border-box!important;
18+
box-sizing: border-box!important;
1919
}
2020
.dlp i{cursor: pointer!important;}
2121
.dlp p,.dlp span{margin: 0!important;padding: 0!important;}
@@ -136,7 +136,7 @@
136136
display: flex;
137137
justify-content: center;
138138
align-items: center;
139-
height: 20px!important;
139+
height: 27px!important;
140140
padding-left: 24px;
141141
padding-right: 24px;
142142
max-width: unset;
@@ -244,7 +244,7 @@
244244
align-items:center;
245245
border-bottom: 1px solid #505050;
246246
border-radius: 3px 3px 0 0;
247-
height: 18px!important;
247+
height: 24px!important;
248248
}
249249
.plane-header .header-content{
250250
margin-right: auto;
@@ -257,23 +257,29 @@
257257
vertical-align: bottom;
258258
}
259259
#dlp-plane .plane-body,.dot-cascade-panel>.plane-body{
260-
background-color: rgb(244, 244, 244); padding: 0; overflow-y: auto;border-radius: 0 0 3px 3px;box-shadow: 0 .4rem 1.2rem rgba(0,0,0,.4)!important;position: relative!important;min-height: 100px;
260+
background-color: rgb(244, 244, 244);
261+
padding: 0;
262+
overflow-y: auto;
263+
border-radius: 0 0 3px 3px;
264+
box-shadow: 0 .4rem 1.2rem rgba(0,0,0,.4)!important;
265+
position: relative!important;
266+
min-height: 70px;
261267
}
262268
.dot-cascade-panel>.plane-body{
263269
height: calc(100% - 23px);
264270
background: rgb(54 54 54)!important;
265271
}
266272
.dot-cascade-panel>.plane-header-delete{
267273
width: 270px;
268-
margin: 60px auto 0;
274+
margin: 30px auto 0;
269275
}
270276
.dot-cascade-panel>.plane-body-delete{
271277
display: flex;
272278
justify-content: center;
273279
align-items: center;
274280
width: 270px;
275281
height: 50px;
276-
min-height: 50px;
282+
min-height: 50px!important;
277283
margin: 0 auto;
278284
overflow: hidden;
279285
padding: 3px;

resources/assets/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ class ComponentPlane {
994994
_component.request(this.URL, 'GET', {}, function (response) {
995995
_component.loading(object.MODEL_BODY_DOM, true);
996996
let fragment = document.createRange().createContextualFragment(response);
997-
document.querySelector('#dlp-plane .plane-body').appendChild(fragment);
997+
object.MODEL_BODY_DOM.appendChild(fragment);
998998
let listener = object.XHR.listener;
999999
if (typeof listener === 'function') {
10001000
let target = listener(object.MODEL_BODY_DOM);

src/Widget/CascadeDot.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class CascadeDot extends DLPField
1616
public function render()
1717
{
1818
$id = $this->formatName($this->id);
19-
$height = isset($this->attributes['height']) ? $this->attributes['height'] : '200px';
19+
$height = isset($this->attributes['height']) ? $this->attributes['height'] : '250px';
2020
$limit = isset($this->attributes['limit']) ? (int)$this->attributes['limit'] : 0;
2121
$this->addVariables(['height'=>$height]);
2222
$select = json_encode($this->options, JSON_UNESCAPED_UNICODE | JSON_HEX_QUOT | JSON_HEX_APOS);

src/Widget/CascadeLine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class CascadeLine extends DLPField
1616
public function render()
1717
{
1818
$id = $this->formatName($this->id);
19-
$height = isset($this->attributes['height']) ? $this->attributes['height'] : '200px';
19+
$height = isset($this->attributes['height']) ? $this->attributes['height'] : '250px';
2020
$this->addVariables(['height'=>$height]);
2121
$select = json_encode($this->options, JSON_UNESCAPED_UNICODE | JSON_HEX_QUOT | JSON_HEX_APOS);
2222
$xhr = $this->xhr ?? '';

0 commit comments

Comments
 (0)