mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 23:29:49 +00:00
Change modal header button style (#7271)
* 01 remove useless package * 02 change modal header icons
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { siteRoot, mediaUrl, logoPath, logoWidth, logoHeight, siteTitle } from '../utils/constants';
|
||||
import { siteRoot, mediaUrl, logoPath, logoWidth, logoHeight, siteTitle, gettext } from '../utils/constants';
|
||||
|
||||
const propTypes = {
|
||||
onCloseSidePanel: PropTypes.func,
|
||||
@@ -23,8 +23,8 @@ class Logo extends React.Component {
|
||||
<a
|
||||
className="sf2-icon-x1 sf-popover-close side-panel-close action-icon d-md-none"
|
||||
onClick={this.closeSide}
|
||||
title="Close"
|
||||
aria-label="Close"
|
||||
title={gettext('Close')}
|
||||
aria-label={gettext('Close')}
|
||||
>
|
||||
</a>
|
||||
}
|
||||
|
Reference in New Issue
Block a user