mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-15 07:52:14 +00:00
* [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)
22 lines
359 B
JavaScript
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;
|