Commit 453934416f185d2a473203da01c31cc7ea36e1aa
style settings page
mix irving committed on 8/21/2017, 8:49:31 AMParent: 0dbf73654513a31bdd3cab71a2047f263c054072
Files changed
app/page/settings.js | changed |
app/page/settings.mcss | added |
styles/button.mcss | changed |
app/page/settings.js | ||
---|---|---|
@@ -30,10 +30,14 @@ | ||
30 | 30 | function Language (lang) { |
31 | 31 | const selectLang = () => api.settings.sync.set({ language: lang }) |
32 | 32 | const className = currentLanguage === lang ? '-primary' : '' |
33 | 33 | |
34 | - return h('div.language', { 'ev-click': () => selectLang(lang) }, | |
35 | - h('Button', { className }, lang) | |
34 | + return h('Button -language', | |
35 | + { | |
36 | + 'ev-click': () => selectLang(lang), | |
37 | + className | |
38 | + }, | |
39 | + lang | |
36 | 40 | ) |
37 | 41 | } |
38 | 42 | |
39 | 43 | return h('Page -settings', [ |
Built with git-ssb-web