chore: minor fixes

This commit is contained in:
Eneko Illarramendi
2020-04-05 12:19:25 +02:00
parent 089793a486
commit fb7dfb3a32
7 changed files with 93 additions and 336 deletions
+14 -10
View File
@@ -20,17 +20,21 @@
body.body--dark .q-field--error .q-field__messages {
color: yellow !important; }
.lnbits__q-table__icon-td {
padding-left: 5px !important; }
.lnbits-drawer__q-list .q-item {
padding-top: 5px !important;
padding-bottom: 5px !important;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px; }
.lnbits-drawer__q-list .q-item.q-item--active {
color: inherit;
font-weight: bold; }
.lnbits-drawer__q-list .q-item {
padding-top: 5px !important;
padding-bottom: 5px !important;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px; }
.lnbits-drawer__q-list .q-item.q-item--active {
color: inherit;
font-weight: bold; }
.q-table--dense th:first-child, .q-table--dense td:first-child,
.q-table--dense .q-table__bottom {
padding-left: 6px !important; }
.q-table--dense th:last-child, .q-table--dense td:last-child,
.q-table--dense .q-table__bottom {
padding-right: 6px !important; }
video {
border-radius: 3px; }
+7 -1
View File
@@ -57,6 +57,12 @@ var LNbits = {
}).sort(function (a, b) {
return a.name.localeCompare(b.name);
});
obj.walletOptions = obj.wallets.map(function (obj) {
return {
label: [obj.name, ' (', obj.id , ')'].join(''),
value: obj.id
};
});
return obj;
},
wallet: function (data) {
@@ -158,7 +164,7 @@ var windowMixin = {
copyText: function (text, message) {
var notify = this.$q.notify;
Quasar.utils.copyToClipboard(text).then(function () {
notify({message: 'Copied to clipboard!'});
notify({message: message || 'Copied to clipboard!'});
});
}
},
+14 -4
View File
@@ -36,10 +36,6 @@ body.body--dark .q-field--error {
}
}
.lnbits__q-table__icon-td {
padding-left: 5px !important;
}
.lnbits-drawer__q-list .q-item {
padding-top: 5px !important;
padding-bottom: 5px !important;
@@ -52,6 +48,20 @@ body.body--dark .q-field--error {
}
}
.q-table--dense {
th:first-child,
td:first-child,
.q-table__bottom {
padding-left: 6px !important;
}
th:last-child,
td:last-child,
.q-table__bottom {
padding-right: 6px !important;
}
}
// QR video
video {