mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 14:13:37 +08:00
Update modal responsive control classes
This commit is contained in:
parent
c60e37d88c
commit
77dbbae170
|
@ -36,7 +36,7 @@ export default class Modal extends Component {
|
||||||
return (
|
return (
|
||||||
<div className={'Modal modal-dialog ' + this.className()}>
|
<div className={'Modal modal-dialog ' + this.className()}>
|
||||||
<div className="Modal-content">
|
<div className="Modal-content">
|
||||||
<div className="Modal-close Page-backControl">
|
<div className="Modal-close App-backControl">
|
||||||
{Button.component({
|
{Button.component({
|
||||||
icon: 'times',
|
icon: 'times',
|
||||||
onclick: this.hide.bind(this),
|
onclick: this.hide.bind(this),
|
||||||
|
@ -46,7 +46,7 @@ export default class Modal extends Component {
|
||||||
|
|
||||||
<form onsubmit={this.onsubmit.bind(this)}>
|
<form onsubmit={this.onsubmit.bind(this)}>
|
||||||
<div className="Modal-header">
|
<div className="Modal-header">
|
||||||
<h3 className="Page-titleControl Page-titleControl--text">{this.title()}</h3>
|
<h3 className="App-titleControl App-titleControl--text">{this.title()}</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{alert ? <div className="Modal-alert">{this.alert}</div> : ''}
|
{alert ? <div className="Modal-alert">{this.alert}</div> : ''}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user