1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-28 03:10:45 +00:00

fix form and close UI

This commit is contained in:
Michael An 2025-03-13 17:37:20 +08:00
parent d4af41cbce
commit c12696b7c5
3 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,9 @@ class SystemNotification extends React.Component {
return ( return (
<div id="info-bar" className="d-flex justify-content-between"> <div id="info-bar" className="d-flex justify-content-between">
<p id="info-bar-info" className="m-0" dangerouslySetInnerHTML={{ __html: curNoteMsg }}></p> <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> <span title={gettext('Close')} aria-label={gettext('Close')} onClick={this.close} role="button">
<i className="sf3-font sf3-font-x-01" aria-hidden="true"></i>
</span>
</div> </div>
); );
} }

View File

@ -4,9 +4,7 @@
background: #fddaa4; background: #fddaa4;
} }
#info-bar .close { #info-bar .sf3-font-x-01 {
font-size: 16px;
line-height: 1;
color: #666; color: #666;
cursor: pointer; cursor: pointer;
} }

File diff suppressed because one or more lines are too long