Skip to content

Commit 93e9235

Browse files
committed
modify: markup style for info tab on config modal
1 parent 094bce2 commit 93e9235

2 files changed

Lines changed: 34 additions & 13 deletions

File tree

browser/main/modals/PreferencesModal/InfoTab.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,19 @@ class InfoTab extends React.Component {
2222
render () {
2323
return (
2424
<div styleName='root'>
25+
<div styleName='header'>Info</div>
26+
2527
<div styleName='top'>
26-
<img styleName='icon' src='../resources/app.png' width='150' height='150'/>
27-
<div styleName='appId'>Boostnote {appVersion}</div>
28-
<div styleName='description'>
29-
A simple markdown/snippet note app for developer.
28+
<div styleName='icon-space'>
29+
<img styleName='icon' src='../resources/app.png' width='92' height='92'/>
30+
<div styleName='icon-right'>
31+
<div styleName='appId'>Boostnote {appVersion}</div>
32+
<div styleName='description'>
33+
A simple markdown/snippet note app for developer.
34+
</div>
35+
</div>
3036
</div>
37+
<div styleName='clear'></div>
3138
<div styleName='madeBy'>Made by&nbsp;
3239
<a href='http://maisin.co/'
3340
onClick={(e) => this.handleLinkClick(e)}

browser/main/modals/PreferencesModal/InfoTab.styl

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,45 @@
1+
@import('./Tab')
2+
13
.root
24
padding 15px
35
white-space pre
46
line-height 1.4
57
color $ui-text-color
68
width 100%
79

10+
.clear
11+
clear both
12+
813
.top
9-
text-align center
10-
margin-bottom 25px
14+
text-align left
15+
margin-bottom 20px
16+
17+
.icon-space
18+
margin 20px 0
19+
height 100px
20+
21+
.icon
22+
display inline-block
23+
vertical-align middle
24+
25+
.icon-right
26+
display inline-block
27+
vertical-align middle
28+
margin-left 20px
1129

1230
.appId
1331
font-size 24px
32+
margin-bottom 13px
1433

1534
.description
16-
overflow hidden
17-
white-space normal
18-
line-height 1.5
19-
margin 5px auto 10px
2035
font-size 14px
21-
text-align center
2236

2337
.madeBy
24-
font-size 12px
38+
font-size 14px
2539
$ui-inactive-text-color
2640

2741
.copyright
28-
font-size 12px
42+
font-size 14px
2943
$ui-inactive-text-color
3044

3145
.list

0 commit comments

Comments
 (0)