Skip to content

Commit

Permalink
ボタンとして使っていたaタグをbuttonタグに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
takayamaki committed Jul 16, 2023
1 parent 75acd77 commit 80fe639
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ export default class TrendTags extends React.PureComponent {
<i className='fa fa-tag' />
<div className='compose__extra__header__name'>{intl.formatMessage(messages.trend_tags)}</div>
<div className='compose__extra__header__icon'>
<a href='javascript:void(0);' onClick={this.onClickReload} >
<button onClick={this.onClickReload} >
{this.reloadIcon(this.state.animate)}
</a>
</button>
</div>
<div className='compose__extra__header__fold__icon'>
<FoldButton title={intl.formatMessage(messages.toggle_visible)} icon='caret-up' onClick={onToggle} size={20} animate active={visible} />
Expand Down
4 changes: 4 additions & 0 deletions app/javascript/styles/imastodon/compose_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
padding-right: 4px;
}

button {
background-color: transparent;
}

&__icon {
background: transparent;
position: absolute;
Expand Down

0 comments on commit 80fe639

Please sign in to comment.