fix: login screen layout (#3538)

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
Tiago Vasconcelos
2025-11-20 10:44:56 +02:00
committed by GitHub
co-authored by Vlad Stan
parent da3cb548bd
commit b9a004a5e4
11 changed files with 29 additions and 74 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
@@ -1,15 +0,0 @@
window.app.component('lnbits-wallet-ads', {
template: '#lnbits-wallet-ads',
mixins: [window.windowMixin],
computed: {
ads() {
return this.AD_SPACE.map(ad => ad.split(';'))
},
adSpaceTitle() {
return this.AD_SPACE_TITLE || 'Sponsored Ads'
},
adSpaceEnabled() {
return this.AD_SPACE_ENABLED && this.AD_SPACE && this.AD_SPACE.length > 0
}
}
})
+2 -1
View File
@@ -45,7 +45,8 @@ window.g = Vue.reactive({
bgimageChoice: localStore(
'lnbits.backgroundImage',
WINDOW_SETTINGS.LNBITS_DEFAULT_BGIMAGE
)
),
ads: WINDOW_SETTINGS.AD_SPACE.split(',').map(ad => ad.split(';'))
})
window.dateFormat = 'YYYY-MM-DD HH:mm'
-1
View File
@@ -67,7 +67,6 @@
"js/components/admin/lnbits-admin-site-customisation.js",
"js/components/admin/lnbits-admin-assets-config.js",
"js/components/admin/lnbits-admin-audit.js",
"js/components/lnbits-wallet-ads.js",
"js/components/lnbits-wallet-api-docs.js",
"js/components/lnbits-wallet-new.js",
"js/components/lnbits-wallet-share.js",