1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Fix: Preview button修正

This commit is contained in:
Rokt33r
2015-07-30 00:59:52 +09:00
parent 9696a6cba1
commit 9e929f80ad
3 changed files with 5 additions and 5 deletions

View File

@@ -132,7 +132,7 @@ var BlueprintForm = React.createClass({
</div>
<div className='modal-footer'>
<button onClick={this.togglePreview} className='btn-default'>Toggle Preview</button>
<button onClick={this.togglePreview} className={'btn-default' + (this.state.mode === BlueprintForm.PREVIEW_MODE ? ' active' : '')}>Preview mode</button>
<div className='modal-control'>
<button onClick={this.props.close} className='btn-default'>Cancel</button>
<button onClick={this.submit} className='btn-primary'>Launch</button>

View File

@@ -68,7 +68,6 @@ var PlanetArticleList = React.createClass({
<div className='callSign'><i className='fa fa-file-text-o fa-fw'></i> {article.title}</div>
<div className='updatedAt'>{moment(article.updatedAt).fromNow()}</div>
</div>
<div className='content'>{this.markdown(article.content.substring(0, 150)).replace(/(<([^>]+)>)/ig, '').substring(0, 75)}</div>
<div className='tags'><i className='fa fa-tags'/>{tags}</div>
</div>
<div className='divider'></div>

View File

@@ -165,19 +165,20 @@
transition 0.1s
.itemHeader
clearfix()
margin-bottom 5px
margin-bottom 15px
.callSign, .title
float left
font-weight 600
font-size 1.1em
line-height 140%
.updatedAt
float right
line-height 16px
color lighten(textColor, 25%)
font-size 0.8em
.description, .content
.description
line-height 120%
margin 10px 0 15px
margin-bottom 15px
&:hover, &.hover
background-color hoverBackgroundColor
&:active, &.active