mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 09:51:26 +00:00
fix-finished-btn (#2740)
This commit is contained in:
@@ -192,7 +192,6 @@
|
|||||||
|
|
||||||
.review-state {
|
.review-state {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 0.75rem 1.25rem;
|
|
||||||
margin: auto 0.5rem;
|
margin: auto 0.5rem;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
@@ -210,6 +209,11 @@
|
|||||||
border-color: #f1c1c0;
|
border-color: #f1c1c0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.review-state-closed:focus,
|
||||||
|
.review-state-finished:focus {
|
||||||
|
box-shadow: 0 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
img[src=""],img:not([src]){ /* for first loading img*/
|
img[src=""],img:not([src]){ /* for first loading img*/
|
||||||
opacity:0;
|
opacity:0;
|
||||||
}
|
}
|
||||||
|
@@ -755,11 +755,17 @@ class DraftReview extends React.Component {
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
this.state.reviewStatus === 'finished' &&
|
this.state.reviewStatus === 'finished' &&
|
||||||
<div className="review-state review-state-finished">{gettext('Finished')}</div>
|
<div className="cur-file-operation">
|
||||||
|
<button className='btn review-state review-state-finished'
|
||||||
|
title={gettext('Finished')}>{gettext('Finished')}</button>
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
this.state.reviewStatus === 'closed' &&
|
this.state.reviewStatus === 'closed' &&
|
||||||
<div className="review-state review-state-closed">{gettext('Closed')}</div>
|
<div className="cur-file-operation">
|
||||||
|
<button className='btn review-state review-state-closed'
|
||||||
|
title={gettext('Closed')}>{gettext('Closed')}</button>
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user