adata-ui 0.2.3 → 0.2.6

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": "adata-ui",
3
- "version": "0.2.3",
3
+ "version": "0.2.6",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -657,7 +657,7 @@ export default {
657
657
  this.$emit("menuOpen", this.isOpen);
658
658
  },
659
659
  thousandSeparator(val) {
660
- return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") : "";
660
+ return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") : "0";
661
661
  },
662
662
  defineIconState(name) {
663
663
  return name === "DOWN" ? "@/assets/icons/arrow-down.svg" : "@/assets/icons/arrow-up.svg";
@@ -956,6 +956,9 @@ export default {
956
956
  z-index: 1000000;
957
957
  @media (max-width: 1025px) {
958
958
  height: 40px;
959
+ width: calc(100% - 32px);
960
+ margin: 32px 16px;
961
+ justify-content: center;
959
962
  }
960
963
 
961
964
  button.sign {
@@ -249,7 +249,9 @@ export default {
249
249
  }
250
250
  &-btn {
251
251
  margin: 0 auto;
252
- display: block;
252
+ display: flex;
253
+ justify-content: center;
254
+ align-items: center;
253
255
  }
254
256
  }
255
257
  }