Browse Source

Styling fixes

closed-social-glitch-2
kibigo! 6 years ago
parent
commit
ec620ae486
2 changed files with 14 additions and 2 deletions
  1. +2
    -2
      app/javascript/mastodon/components/column_header.js
  2. +12
    -0
      app/javascript/styles/mastodon/components.scss

+ 2
- 2
app/javascript/mastodon/components/column_header.js 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}

+ 12
- 0
app/javascript/styles/mastodon/components.scss 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);

Loading…
Cancel
Save