@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,6 +1,6 @@
1
1
  {
2
2
  "name": "@nixweb/nixloc-ui",
3
- "version": "0.0.249",
3
+ "version": "0.0.251",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -1,11 +1,6 @@
1
1
  <template>
2
- <div
3
- :id="id"
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: "application/pdf" });
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");