Skip to content

Commit 1ee3dec

Browse files
committed
modify: fix style for detail info
1 parent 1563764 commit 1ee3dec

4 files changed

Lines changed: 16 additions & 54 deletions

File tree

browser/main/Detail/MarkdownNoteDetail.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,11 @@ class MarkdownNoteDetail extends React.Component {
214214
>
215215
<div styleName='info'>
216216
<div styleName='info-left'>
217-
<div styleName='info-left-bottom'>
218-
<TagSelect
219-
styleName='info-left-bottom-tagSelect'
220-
ref='tags'
221-
value={this.state.note.tags}
222-
onChange={(e) => this.handleChange(e)}
223-
/>
224-
</div>
217+
<TagSelect
218+
ref='tags'
219+
value={this.state.note.tags}
220+
onChange={(e) => this.handleChange(e)}
221+
/>
225222
</div>
226223
<div styleName='info-right'>
227224
<StarButton styleName='info-right-button'

browser/main/Detail/MarkdownNoteDetail.styl

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$info-height = 75px
1+
$info-height = 60px
22

33
.root
44
absolute top right bottom
@@ -15,23 +15,7 @@ $info-height = 75px
1515
.info-left
1616
float left
1717
padding 0 5px
18-
19-
.info-left-top
20-
height 40px
21-
line-height 40px
22-
23-
.info-left-top-folderSelect
24-
display inline-block
25-
height 34px
26-
width 200px
27-
vertical-align middle
28-
29-
.info-left-bottom
30-
height 30px
31-
32-
.info-left-bottom-tagSelect
33-
height 30px
34-
line-height 30px
18+
margin 18px 2px
3519

3620
.info-right
3721
float right
@@ -43,7 +27,7 @@ $info-height = 75px
4327
navButtonColor()
4428
border $ui-border
4529
font-size 14px
46-
margin 8px 2px
30+
margin 13px 2px
4731
padding 0
4832
&:active
4933
border-color $ui-button--focus-borderColor

browser/main/Detail/SnippetNoteDetail.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -522,14 +522,11 @@ class SnippetNoteDetail extends React.Component {
522522
>
523523
<div styleName='info'>
524524
<div styleName='info-left'>
525-
<div styleName='info-left-bottom'>
526-
<TagSelect
527-
styleName='info-left-bottom-tagSelect'
528-
ref='tags'
529-
value={this.state.note.tags}
530-
onChange={(e) => this.handleChange(e)}
531-
/>
532-
</div>
525+
<TagSelect
526+
ref='tags'
527+
value={this.state.note.tags}
528+
onChange={(e) => this.handleChange(e)}
529+
/>
533530
</div>
534531
<div styleName='info-right'>
535532
<StarButton styleName='info-right-button'

browser/main/Detail/SnippetNoteDetail.styl

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$info-height = 75px
1+
$info-height = 60px
22

33
.root
44
absolute top bottom right
@@ -15,23 +15,7 @@ $info-height = 75px
1515
.info-left
1616
float left
1717
padding 0 5px
18-
19-
.info-left-top
20-
height 40px
21-
line-height 40px
22-
23-
.info-left-top-folderSelect
24-
display inline-block
25-
height 34px
26-
width 200px
27-
vertical-align middle
28-
29-
.info-left-bottom
30-
height 30px
31-
32-
.info-left-bottom-tagSelect
33-
height 30px
34-
line-height 30px
18+
margin 18px 2px
3519

3620
.info-right
3721
float right
@@ -43,7 +27,7 @@ $info-height = 75px
4327
navButtonColor()
4428
border $ui-border
4529
font-size 14px
46-
margin 8px 2px
30+
margin 13px 2px
4731
padding 0
4832
&:active
4933
border-color $ui-button--focus-borderColor

0 commit comments

Comments
 (0)