mirror of
https://github.com/flarum/core.git
synced 2025-10-11 15:04:25 +02:00
Major CSS revamp
- Get rid of Bootstrap (except we still rely on some JS) - Use BEM class names - Rework variables/theme config - Fix various bugs, including some on mobile The CSS is still not ideal – it needs to be cleaned up some more. But that can be a focus for after beta.
This commit is contained in:
@@ -17,11 +17,11 @@ export default class Activity extends Component {
|
||||
const activity = this.props.activity;
|
||||
|
||||
return (
|
||||
<div className="activity">
|
||||
{avatar(this.user(), {className: 'activity-icon'})}
|
||||
<div className="Activity">
|
||||
{avatar(this.user(), {className: 'Activity-avatar'})}
|
||||
|
||||
<div className="activity-info">
|
||||
<strong>{this.description()}</strong>
|
||||
<div className="Activity-header">
|
||||
<strong className="Activity-description">{this.description()}</strong>
|
||||
{humanTime(activity.time())}
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user