mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
modify: fix style for detail info
This commit is contained in:
@@ -214,14 +214,11 @@ class MarkdownNoteDetail extends React.Component {
|
|||||||
>
|
>
|
||||||
<div styleName='info'>
|
<div styleName='info'>
|
||||||
<div styleName='info-left'>
|
<div styleName='info-left'>
|
||||||
<div styleName='info-left-bottom'>
|
<TagSelect
|
||||||
<TagSelect
|
ref='tags'
|
||||||
styleName='info-left-bottom-tagSelect'
|
value={this.state.note.tags}
|
||||||
ref='tags'
|
onChange={(e) => this.handleChange(e)}
|
||||||
value={this.state.note.tags}
|
/>
|
||||||
onChange={(e) => this.handleChange(e)}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div styleName='info-right'>
|
<div styleName='info-right'>
|
||||||
<StarButton styleName='info-right-button'
|
<StarButton styleName='info-right-button'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
$info-height = 75px
|
$info-height = 60px
|
||||||
|
|
||||||
.root
|
.root
|
||||||
absolute top right bottom
|
absolute top right bottom
|
||||||
@@ -15,23 +15,7 @@ $info-height = 75px
|
|||||||
.info-left
|
.info-left
|
||||||
float left
|
float left
|
||||||
padding 0 5px
|
padding 0 5px
|
||||||
|
margin 18px 2px
|
||||||
.info-left-top
|
|
||||||
height 40px
|
|
||||||
line-height 40px
|
|
||||||
|
|
||||||
.info-left-top-folderSelect
|
|
||||||
display inline-block
|
|
||||||
height 34px
|
|
||||||
width 200px
|
|
||||||
vertical-align middle
|
|
||||||
|
|
||||||
.info-left-bottom
|
|
||||||
height 30px
|
|
||||||
|
|
||||||
.info-left-bottom-tagSelect
|
|
||||||
height 30px
|
|
||||||
line-height 30px
|
|
||||||
|
|
||||||
.info-right
|
.info-right
|
||||||
float right
|
float right
|
||||||
@@ -43,7 +27,7 @@ $info-height = 75px
|
|||||||
navButtonColor()
|
navButtonColor()
|
||||||
border $ui-border
|
border $ui-border
|
||||||
font-size 14px
|
font-size 14px
|
||||||
margin 8px 2px
|
margin 13px 2px
|
||||||
padding 0
|
padding 0
|
||||||
&:active
|
&:active
|
||||||
border-color $ui-button--focus-borderColor
|
border-color $ui-button--focus-borderColor
|
||||||
|
|||||||
@@ -522,14 +522,11 @@ class SnippetNoteDetail extends React.Component {
|
|||||||
>
|
>
|
||||||
<div styleName='info'>
|
<div styleName='info'>
|
||||||
<div styleName='info-left'>
|
<div styleName='info-left'>
|
||||||
<div styleName='info-left-bottom'>
|
<TagSelect
|
||||||
<TagSelect
|
ref='tags'
|
||||||
styleName='info-left-bottom-tagSelect'
|
value={this.state.note.tags}
|
||||||
ref='tags'
|
onChange={(e) => this.handleChange(e)}
|
||||||
value={this.state.note.tags}
|
/>
|
||||||
onChange={(e) => this.handleChange(e)}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div styleName='info-right'>
|
<div styleName='info-right'>
|
||||||
<StarButton styleName='info-right-button'
|
<StarButton styleName='info-right-button'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
$info-height = 75px
|
$info-height = 60px
|
||||||
|
|
||||||
.root
|
.root
|
||||||
absolute top bottom right
|
absolute top bottom right
|
||||||
@@ -15,23 +15,7 @@ $info-height = 75px
|
|||||||
.info-left
|
.info-left
|
||||||
float left
|
float left
|
||||||
padding 0 5px
|
padding 0 5px
|
||||||
|
margin 18px 2px
|
||||||
.info-left-top
|
|
||||||
height 40px
|
|
||||||
line-height 40px
|
|
||||||
|
|
||||||
.info-left-top-folderSelect
|
|
||||||
display inline-block
|
|
||||||
height 34px
|
|
||||||
width 200px
|
|
||||||
vertical-align middle
|
|
||||||
|
|
||||||
.info-left-bottom
|
|
||||||
height 30px
|
|
||||||
|
|
||||||
.info-left-bottom-tagSelect
|
|
||||||
height 30px
|
|
||||||
line-height 30px
|
|
||||||
|
|
||||||
.info-right
|
.info-right
|
||||||
float right
|
float right
|
||||||
@@ -43,7 +27,7 @@ $info-height = 75px
|
|||||||
navButtonColor()
|
navButtonColor()
|
||||||
border $ui-border
|
border $ui-border
|
||||||
font-size 14px
|
font-size 14px
|
||||||
margin 8px 2px
|
margin 13px 2px
|
||||||
padding 0
|
padding 0
|
||||||
&:active
|
&:active
|
||||||
border-color $ui-button--focus-borderColor
|
border-color $ui-button--focus-borderColor
|
||||||
|
|||||||
Reference in New Issue
Block a user