Skip to content

Commit a4e0a2d

Browse files
author
hikki
committed
v3 css
1 parent 62ccc97 commit a4e0a2d

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

resources/assets/component.css

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,29 @@
1212
-ms-user-select: none!important;
1313
user-select: none!important;
1414
text-align: left;
15+
-webkit-appearance: none!important;
16+
-webkit-box-sizing: unset!important;
17+
-moz-box-sizing: unset!important;
18+
box-sizing: unset!important;
1519
}
1620
.dlp i{cursor: pointer!important;}
1721
.dlp p,.dlp span{margin: 0!important;padding: 0!important;}
1822
.dlp-text{text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}
1923
.dlp-label {
2024
cursor: pointer;
21-
display: inline-block;
22-
min-width: 6em;
25+
display: inline-flex;
26+
justify-content: center;
27+
align-items: center;
28+
min-width: 7em;
2329
max-width: 12em;
24-
height: 18px;
30+
height: 14px;
2531
outline: 0;
2632
border: none;
2733
vertical-align: baseline;
2834
background: #d6d6d6;
2935
color: rgba(0,0,0,.7);
3036
font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
31-
margin: 0 4px 0;
37+
margin: 0 4px 3px;
3238
padding: 2px 4px 2px 4px;
3339
line-height: 14px;
3440
font-style: normal;
@@ -45,7 +51,6 @@
4551
transition: opacity .1s ease,background-color .1s ease,color .1s ease,background .1s ease,-webkit-box-shadow .1s ease;
4652
-webkit-tap-highlight-color: transparent;
4753
transition-property: color,background-color,border;
48-
-webkit-appearance: none;
4954
}
5055

5156
.dlp-label:hover {
@@ -109,7 +114,7 @@
109114
.dlp-cascadeLine .dot-search{
110115
margin-right: auto;
111116
}
112-
.dot-selected{width: 100%}
117+
.dot-selected{width: 100%!important;height: 100%!important;}
113118
.dot-selected>.dlp-label{background: white}
114119
.dot-body{padding:3px 0 3px 0;background: rgb(43 43 43);border-radius: 0 0 5px 5px;position: relative;}
115120
.dot-select{position: absolute;top:3px;left:0;bottom:3px;right:0;z-index: 1050;}
@@ -131,7 +136,7 @@
131136
display: flex;
132137
justify-content: center;
133138
align-items: center;
134-
height: 24px!important;
139+
height: 21px!important;
135140
padding-left: 24px;
136141
padding-right: 24px;
137142
max-width: unset;
@@ -176,8 +181,8 @@
176181
.dlp-input{
177182
vertical-align: middle;
178183
display: inline-block;
179-
width: 100%;
180-
height: 25px;
184+
width: auto;
185+
height: 20px;
181186
padding-left: 4px;
182187
padding-right: 4px;
183188
background: #ededed;;

src/Widget/Linear.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function render()
3030
$columns = json_encode($columns);
3131
}
3232
$options = isset($this->attributes['options']) ? json_encode($this->attributes['options']) : json_encode(['sortable' => true, 'delete' => true]);
33-
$height = isset($this->attributes['height']) ? $this->attributes['height'] : '360px';
33+
$height = isset($this->attributes['height']) ? $this->attributes['height'] : '352px';
3434
$this->addVariables(['height' => $height]);
3535
$data = json_encode($this->options, JSON_UNESCAPED_UNICODE | JSON_HEX_QUOT | JSON_HEX_APOS);
3636
$this->script = <<<EOT

0 commit comments

Comments
 (0)