mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 02:48:51 +00:00
[a11y] system notification: refactored it & added support for keyboard access
This commit is contained in:
@@ -41,9 +41,9 @@ class SystemNotification extends React.Component {
|
||||
}
|
||||
|
||||
return (
|
||||
<div id="info-bar">
|
||||
<p id="info-bar-info"><span dangerouslySetInnerHTML={{__html: curNoteMsg}}></span></p>
|
||||
<span className="close sf2-icon-x1" title={gettext('Close')} onClick={this.close}></span>
|
||||
<div id="info-bar" className="d-flex justify-content-between">
|
||||
<p id="info-bar-info" className="m-0" dangerouslySetInnerHTML={{__html: curNoteMsg}}></p>
|
||||
<button className="close sf2-icon-x1" title={gettext('Close')} aria-label={gettext('Close')} onClick={this.close}></button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user