mirror of
https://github.com/flarum/core.git
synced 2025-07-09 11:03:06 +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:
@ -18,6 +18,14 @@ export default class LinkButton extends Button {
|
||||
props.config = props.config || m.route;
|
||||
}
|
||||
|
||||
view() {
|
||||
const vdom = super.view();
|
||||
|
||||
vdom.tag = 'a';
|
||||
|
||||
return vdom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether a component with the given props is 'active'.
|
||||
*
|
||||
|
Reference in New Issue
Block a user