Skip to content
Open
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
8 changes: 7 additions & 1 deletion resources/css/bem/matchmaking-result.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
gap: 5px;

&--provisional {
grid-template-columns: auto 1fr;
// allow vertical overflow to still be centered within parent element
display: flex;
min-height: 0;
align-items: center;
gap: 10px;
padding: 0 5px;
Expand Down Expand Up @@ -38,6 +40,10 @@
}
}

&__provisional-icon {
flex: none;
}

&__title {
font-size: @font-size--normal;
font-weight: bold;
Expand Down
4 changes: 3 additions & 1 deletion resources/js/profile-page/detail-stats-v2/matchmaking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ export default class Matchmaking extends React.PureComponent<Props> {
if (this.stats.is_rating_provisional) {
return (
<div className='matchmaking-result matchmaking-result--provisional'>
<span className='fas fa-ghost' />
<span className='matchmaking-result__provisional-icon'>
<span className='fas fa-ghost' />
</span>
<span>
{trans('users.show.matchmaking.recent_history_provisional')}
</span>
Expand Down
Loading