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 ( return (
<div className={wrapperClassName}> <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`} /> <i className={`fa fa-fw fa-${icon} column-header__icon`} />
<span className='column-header__title'> <span className='column-header__title'>
{title} {title}

+ 12
- 0
app/javascript/styles/mastodon/components.scss View File

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

Loading…
Cancel
Save