Browse Source

switch css

readme
Mayank 5 years ago
parent
commit
c586bc47b8
No known key found for this signature in database GPG Key ID: D037D60476CE748C
  1. 2
      src/components/Utility/CountUp.vue
  2. 4
      src/components/Utility/SatsBtcSwitch.vue

2
src/components/Utility/CountUp.vue

@ -120,6 +120,7 @@ export default {
watch: {
endVal: {
handler(newVal) {
// console.log("val");
const that = this;
if (that.instance && isFunction(that.instance.update)) {
that.instance.update(newVal);
@ -130,6 +131,7 @@ export default {
"options.decimalPlaces": {
//remount element on change of decimal places
handler() {
// console.log("dec");
const that = this;
that.destroy();
that.create();

4
src/components/Utility/SatsBtcSwitch.vue

@ -84,16 +84,18 @@ export default {
border-radius: 30px;
font-size: 1rem;
font-weight: 600;
color: #cfd2d4;
color: #b4b7b9;
}
}
&.toggle-sm {
width: 80px;
height: 26px;
border-radius: 30px;
box-shadow: inset 0px 2px 6px rgba(0, 0, 0, 0.1);
.toggle-bg-text {
span {
font-size: 0.75rem;
color: #9c9c9c;
}
}
.toggle-switch {

Loading…
Cancel
Save