mirror of
https://github.com/flarum/framework.git
synced 2025-05-23 07:09:57 +08: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:
@ -22,9 +22,9 @@ export default class UsersSearchResults {
|
||||
if (!results.length) return '';
|
||||
|
||||
return [
|
||||
<li className="dropdown-header">Users</li>,
|
||||
<li className="Dropdown-header">Users</li>,
|
||||
results.map(user => (
|
||||
<li className="user-search-result" data-index={'users' + user.id()}>
|
||||
<li className="UserSearchResult" data-index={'users' + user.id()}>
|
||||
<a href={app.route.user(user)} config={m.route}>
|
||||
{avatar(user)}
|
||||
{highlight(user.username(), query)}
|
||||
|
Reference in New Issue
Block a user