Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: #854 引用の表示スタイル #860

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/javascript/mastodon/components/compacted_status.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,8 @@ class CompactedStatus extends ImmutablePureComponent {
</a>

<a onClick={this.handleAccountClick} href={`/@${status.getIn(['account', 'acct'])}`} title={status.getIn(['account', 'acct'])} data-hover-card-account={status.getIn(['account', 'id'])} className='status__display-name' target='_blank' rel='noopener noreferrer'>
<div className='status__avatar'>
<Avatar account={status.get('account')} size={24} inline />
<div className='status__avatar__compact'>
<Avatar account={status.get('account')} size={32} inline />
</div>

<DisplayName account={status.get('account')} />
Expand Down
8 changes: 6 additions & 2 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2336,8 +2336,8 @@ a.account__display-name {
height: 46px;

&.status__avatar__compact {
width: 24px;
height: 24px;
width: 32px;
height: 32px;
}
}

Expand Down Expand Up @@ -11626,4 +11626,8 @@ noscript {
&--compacted-status::after {
display: none;
}

&--compacted-status p {
margin-bottom: 22px;
}
}
Loading