1
0
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:
Michael An
2024-12-27 17:44:13 +08:00
committed by GitHub
parent df825cdc6b
commit 58e9d1423f
15 changed files with 99 additions and 292 deletions

View File

@@ -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>
}