@nixweb/nixloc-ui 0.0.249 → 0.0.251
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
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
class="scrollbar"
|
|
5
|
-
:style="
|
|
6
|
-
'max-height:' + maxHeight + 'px' + ';' + 'min-height:' + minHeight + 'px'
|
|
7
|
-
"
|
|
8
|
-
>
|
|
2
|
+
<div :id="id" class="scrollbar" :style="'max-height:' + maxHeight + 'px' + ';' + 'min-height:' + minHeight + 'px'
|
|
3
|
+
">
|
|
9
4
|
<div id="scroll-bar">
|
|
10
5
|
<slot></slot>
|
|
11
6
|
</div>
|
|
@@ -43,4 +38,20 @@ div {
|
|
|
43
38
|
overflow-y: visible;
|
|
44
39
|
overflow-x: hidden;
|
|
45
40
|
}
|
|
41
|
+
|
|
42
|
+
.scrollbar::-webkit-scrollbar-track {
|
|
43
|
+
background-color: white;
|
|
44
|
+
border-radius: 20px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.scrollbar::-webkit-scrollbar {
|
|
48
|
+
width: 6px;
|
|
49
|
+
background-color: #B9BABB;
|
|
50
|
+
border-radius: 20px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.scrollbar::-webkit-scrollbar-thumb {
|
|
54
|
+
background-color: #B9BABB;
|
|
55
|
+
border-radius: 20px;
|
|
56
|
+
}
|
|
46
57
|
</style>
|
|
@@ -568,7 +568,7 @@ export default {
|
|
|
568
568
|
})
|
|
569
569
|
.then((response) => {
|
|
570
570
|
|
|
571
|
-
let blob = new Blob([response.data], { type:
|
|
571
|
+
let blob = new Blob([response.data], { type: `application/${params.obj.fileType}` });
|
|
572
572
|
let url = window.URL.createObjectURL(blob);
|
|
573
573
|
|
|
574
574
|
let downloadLink = document.createElement("a");
|