1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-02 16:58:53 +09:00

Styling fixes

This commit is contained in:
kibigo! 2018-01-05 12:39:34 -08:00
parent 3b016342c6
commit ec620ae486
2 changed files with 14 additions and 2 deletions

View File

@ -130,8 +130,8 @@ export default class ColumnHeader extends React.PureComponent {
return (
<div className={wrapperClassName}>
<h1>
<button className={buttonClassName} onClick={this.handleTitleClick}>
<h1 className={buttonClassName}>
<button onClick={this.handleTitleClick}>
<i className={`fa fa-fw fa-${icon} column-header__icon`} />
<span className='column-header__title'>
{title}

View File

@ -2351,6 +2351,18 @@
z-index: 2;
outline: 0;
& > button {
display: flex;
flex: auto;
margin: 0;
border: none;
padding: 0;
color: inherit;
background: transparent;
font: inherit;
text-align: left;
}
&.active {
box-shadow: 0 1px 0 rgba($ui-highlight-color, 0.3);