Commit 88830dbe authored by Haelwenn's avatar Haelwenn

Try to fix the code climate issues

parent 1ad6fe7f
......@@ -190,13 +190,13 @@ export default class StatusContent extends React.PureComponent {
>
<div dangerouslySetInnerHTML={content} />
{this.state.collapsed !== null ?
<a
className="status__content__collapse-button"
<button
className='status__content__collapse-button'
onClick={this.handleCollapsedClick}
>
<i className='fa fa-fw fa-angle-double-down' />
</a>
: null}
</button>
: null}
</div>
);
} else {
......
......@@ -755,6 +755,8 @@
text-align: center;
background: $action-button-color;
transition: background .2s ease-in-out, color .2s ease-in-out;
border: 0;
border-radius: 2px;
&:hover {
background: lighten($action-button-color, 7%);
......@@ -762,7 +764,9 @@
i {
transition: transform .2s ease-in-out;
&, &:hover {
&,
&:hover {
color: $inverted-text-color !important;
}
}
......
Markdown is supported
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