1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-15 16:04:01 +00:00
seahub/frontend/src/components/main-panel.js
llj 7b56e8eace
Seahub UI (#5261)
* [top toolbar] fixed the position of the vertical line between 2 sides

- fixed it for all the pages
- removed the duplicated 'div.main-panel' in 'lib-content-view'

* [search] modified the UI

* [top toolbar] redesigned the notification

* [top toolbar] avatar & the triangle: modified the UI

* [left side panel] updated the UI; fixup & improvement

* [misc] modified links' color, op-icon, and etc.

* [misc] updated UI for share dialog, other dialogs, & 'more operations' dropdown

* [misc] UI: modified markdown side panels, comment panels, input/textarea placeholder

* ['user settings' page] modified UI

* [shared dir upload link page] modified the UI

* [user settings] modified the UI

* [user settings] fixup

* [seafile-ui.css] use an updated one (modified color of buttons)
2022-10-12 18:10:12 +08:00

22 lines
359 B
JavaScript

import React, { Component } from 'react';
import PropTypes from 'prop-types';
const propTypes = {
children: PropTypes.object.isRequired,
};
class MainPanel extends Component {
render() {
return (
<div className="main-panel">
{this.props.children}
</div>
);
}
}
MainPanel.propTypes = propTypes;
export default MainPanel;