mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 16:02:14 +00:00
fix(profile): body size elements consistent with the rest
Before this change body size selector had inconsistent code with the rest of the profile customization. This also led to an inconsistent styling of the menu label.
This commit is contained in:
parent
7ab0c9fc82
commit
c3d2b66b41
1 changed files with 6 additions and 5 deletions
|
|
@ -9,12 +9,13 @@ script(id='partials/options.profile.avatar.html', type='text/ng-template')
|
|||
.col-md-4
|
||||
h3=env.t('bodyBody')
|
||||
|
||||
h5=env.t('bodySize')
|
||||
.btn-group
|
||||
button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="slim"}', ng-click='set({"preferences.size":"slim"})')=env.t('bodySlim')
|
||||
button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="broad"}', ng-click='set({"preferences.size":"broad"})')=env.t('bodyBroad')
|
||||
|
||||
menu(type='list')
|
||||
li.customize-menu
|
||||
menu(label=env.t('bodySize'))
|
||||
.btn-group
|
||||
button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="slim"}', ng-click='set({"preferences.size":"slim"})')=env.t('bodySlim')
|
||||
button.btn.btn-sm.btn-default(ng-class='{active: user.preferences.size=="broad"}', ng-click='set({"preferences.size":"broad"})')=env.t('bodyBroad')
|
||||
|
||||
li.customize-menu
|
||||
menu(label=env.t('shirts'))
|
||||
each shirt in ['black', 'blue', 'green', 'pink', 'white', 'yellow']
|
||||
|
|
|
|||
Loading…
Reference in a new issue