mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
fix avatar and background margin
This commit is contained in:
parent
7ec679d11a
commit
e76d9f8d83
1 changed files with 10 additions and 11 deletions
|
|
@ -7,7 +7,7 @@ mixin gemCost(cost)
|
|||
|
||||
// Make it a mixin so we can call it from mobile
|
||||
mixin customizeProfile(mobile)
|
||||
div(class=mobile ? 'padding' : 'row')
|
||||
div(class=mobile ? 'padding' : 'container-fluid row')
|
||||
.col-md-4
|
||||
h3(class=mobile?'item item-divider':'')=env.t('bodyBody')
|
||||
|
||||
|
|
@ -236,16 +236,15 @@ script(id='partials/options.profile.profile.html', type='text/ng-template')
|
|||
|
||||
script(type='text/ng-template', id='partials/options.profile.backgrounds.html')
|
||||
.container-fluid
|
||||
.row
|
||||
menu(type='list')
|
||||
each bgs,k in env.Content.backgrounds
|
||||
li.customize-menu
|
||||
menu(label=env.t(k))
|
||||
+gemCost(7)
|
||||
//-button.btn.btn-xs(ng-hide="ownsSet('background',Content.backgrounds['#{k}'])",ng-click="unlock(setKeys('background',Content.backgrounds['#{k}']))")!= env.t('unlockSet',{cost:15}) + ' <span class="Pet_Currency_Gem1x inline-gems"/>'
|
||||
button.btn.btn-xs(ng-hide="ownsSet('background',#{JSON.stringify(bgs)})",ng-click="unlock(setKeys('background',#{JSON.stringify(bgs)}))")!= env.t('unlockSet',{cost:15}) + ' <span class="Pet_Currency_Gem1x inline-gems"/>'
|
||||
each bg,k in bgs
|
||||
button.customize-option(type='button',class='background_#{k}',ng-click='unlock("background.#{k}")',popover-title=bg.text(),popover=bg.notes(),popover-trigger='mouseenter')
|
||||
menu(type='list')
|
||||
each bgs,k in env.Content.backgrounds
|
||||
li.customize-menu
|
||||
menu(label=env.t(k))
|
||||
+gemCost(7)
|
||||
//-button.btn.btn-xs(ng-hide="ownsSet('background',Content.backgrounds['#{k}'])",ng-click="unlock(setKeys('background',Content.backgrounds['#{k}']))")!= env.t('unlockSet',{cost:15}) + ' <span class="Pet_Currency_Gem1x inline-gems"/>'
|
||||
button.btn.btn-xs(ng-hide="ownsSet('background',#{JSON.stringify(bgs)})",ng-click="unlock(setKeys('background',#{JSON.stringify(bgs)}))")!= env.t('unlockSet',{cost:15}) + ' <span class="Pet_Currency_Gem1x inline-gems"/>'
|
||||
each bg,k in bgs
|
||||
button.customize-option(type='button',class='background_#{k}',ng-click='unlock("background.#{k}")',popover-title=bg.text(),popover=bg.notes(),popover-trigger='mouseenter')
|
||||
|
||||
script(id='partials/options.profile.html', type="text/ng-template")
|
||||
ul.options-menu
|
||||
|
|
|
|||
Loading…
Reference in a new issue