Skip to content
Snippets Groups Projects
Commit 94f9cd2e authored by Yannis Barlas's avatar Yannis Barlas
Browse files

Merged in sort-icon (pull request #11)

fix sort icon if part or chapter
parents 5fc10294 ed0465c1
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ export class Chapter extends React.Component { ...@@ -92,7 +92,7 @@ export class Chapter extends React.Component {
style={listItemStyle} style={listItemStyle}
> >
<div className={styles.grabIcon + ' ' + (chapter.division === 'body' ? styles.grabIconBody : '')}> <div className={styles.grabIcon + ' ' + (chapter.subCategory === 'part' ? styles.grabIconPart : '')}>
<i className='fa fa-circle' /> <i className='fa fa-circle' />
<div className={styles.tooltip}> <div className={styles.tooltip}>
Grab to sort Grab to sort
......
...@@ -188,11 +188,10 @@ $white: #fff; ...@@ -188,11 +188,10 @@ $white: #fff;
cursor: move; cursor: move;
float: left; float: left;
position: relative; position: relative;
top: 6px;
width: 3%; width: 3%;
} }
.grabIconBody { .grabIconPart {
position: relative; position: relative;
bottom: 5px; bottom: 5px;
top: 0; top: 0;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment