git ssb

2+

mixmix / ticktack



Commit 453934416f185d2a473203da01c31cc7ea36e1aa

style settings page

mix irving committed on 8/21/2017, 8:49:31 AM
Parent: 0dbf73654513a31bdd3cab71a2047f263c054072

Files changed

app/page/settings.jschanged
app/page/settings.mcssadded
styles/button.mcsschanged
app/page/settings.jsView
@@ -30,10 +30,14 @@
3030 function Language (lang) {
3131 const selectLang = () => api.settings.sync.set({ language: lang })
3232 const className = currentLanguage === lang ? '-primary' : ''
3333
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
3640 )
3741 }
3842
3943 return h('Page -settings', [
app/page/settings.mcssView
@@ -1,0 +1,15 @@
1+Page -settings {
2+ div.container {
3+ div.languages {
4+ background: #fff
5+ padding: 1rem
6+ padding-bottom: 14rem
7+
8+ display: flex
9+ }
10+ }
11+}
12+
13+Button -language {
14+ margin-right: 1rem
15+}
styles/button.mcssView
@@ -20,9 +20,9 @@
2020 :hover {
2121 opacity: .9
2222 }
2323
24- border: none
24+ border: 1px solid #3dc8c3
2525 }
2626
2727 -showMore {
2828 width: 100%

Built with git-ssb-web