1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +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,11 +1,12 @@
import React from 'react';
import { ModalHeader } from 'reactstrap';
import { gettext } from '../../utils/constants';
import '../../css/seahub-modal-header.css';
const SeahubModalHeader = ({ children, ...props }) => {
const customCloseBtn = (
<button type="button" className="close seahub-modal-close" data-dismiss="modal" aria-label="Close" onClick={props.toggle}>
<span className="seahub-modal-close-inner">
<button type="button" className="close seahub-modal-btn" data-dismiss="modal" aria-label={gettext('Close')} onClick={props.toggle}>
<span className="seahub-modal-btn-inner">
<i className="sf3-font sf3-font-x-01" aria-hidden="true"></i>
</span>
</button>