@nixweb/nixloc-ui 0.0.171 → 0.0.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -243,7 +243,7 @@ export default {
|
|
|
243
243
|
this.hideVodal(this.nameNewRegister);
|
|
244
244
|
},
|
|
245
245
|
cleanSelect() {
|
|
246
|
-
let obj = { id: "",
|
|
246
|
+
let obj = { id: "", content: "" };
|
|
247
247
|
this.currentValue = obj;
|
|
248
248
|
this.$emit("input", obj);
|
|
249
249
|
this.$refs.multiselect.deactivate();
|
|
@@ -295,7 +295,7 @@ export default {
|
|
|
295
295
|
resetForm: {
|
|
296
296
|
handler(form) {
|
|
297
297
|
if (form.nome == this.formName) {
|
|
298
|
-
let obj = { id: "",
|
|
298
|
+
let obj = { id: "", content: "" };
|
|
299
299
|
this.currentValue = obj;
|
|
300
300
|
this.$emit("input", obj);
|
|
301
301
|
this.formDirty = false;
|
|
@@ -70,10 +70,27 @@ export default {
|
|
|
70
70
|
border-radius: 15px 15px 0px 0px !important;
|
|
71
71
|
margin-top: 20px !important;
|
|
72
72
|
margin-right: 5% !important;
|
|
73
|
+
padding-top: 20px !important;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
.b-sidebar > .b-sidebar-body {
|
|
76
|
-
overflow:
|
|
77
|
+
overflow-y: scroll !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.b-sidebar > .b-sidebar-body::-webkit-scrollbar-track {
|
|
81
|
+
background-color: white;
|
|
82
|
+
border-radius: 20px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.b-sidebar > .b-sidebar-body::-webkit-scrollbar {
|
|
86
|
+
width: 6px;
|
|
87
|
+
background-color: #b9babb;
|
|
88
|
+
border-radius: 20px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.b-sidebar > .b-sidebar-body::-webkit-scrollbar-thumb {
|
|
92
|
+
background-color: #b9babb;
|
|
93
|
+
border-radius: 20px;
|
|
77
94
|
}
|
|
78
95
|
|
|
79
96
|
.title-side-bar {
|
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
<div
|
|
3
3
|
:id="id"
|
|
4
4
|
class="scrollbar"
|
|
5
|
-
:style="
|
|
5
|
+
:style="
|
|
6
|
+
'max-height:' + maxHeight + 'px' + ';' + 'min-height:' + minHeight + 'px'
|
|
7
|
+
"
|
|
6
8
|
>
|
|
7
|
-
<
|
|
9
|
+
<div id="scroll-bar">
|
|
10
|
+
<slot></slot>
|
|
11
|
+
</div>
|
|
8
12
|
</div>
|
|
9
13
|
</template>
|
|
10
14
|
|
|
@@ -23,7 +27,7 @@ export default {
|
|
|
23
27
|
const listElm = document.querySelector("#" + this.id);
|
|
24
28
|
if (listElm != null)
|
|
25
29
|
listElm.addEventListener("scroll", (e) => {
|
|
26
|
-
if (listElm.scrollTop + listElm.clientHeight >= listElm.scrollHeight) {
|
|
30
|
+
if (listElm.scrollTop + listElm.clientHeight >= listElm.scrollHeight) {
|
|
27
31
|
if (this.endScrollBar) this.endScrollBar();
|
|
28
32
|
}
|
|
29
33
|
});
|
|
@@ -39,5 +43,4 @@ div {
|
|
|
39
43
|
overflow-y: visible;
|
|
40
44
|
overflow-x: hidden;
|
|
41
45
|
}
|
|
42
|
-
|
|
43
46
|
</style>
|