mirror of
https://github.com/plankanban/planka.git
synced 2025-07-25 16:19:47 +02:00
Make columns itself scrollable, fix action creation when moving card, little refactoring
This commit is contained in:
parent
66c570f234
commit
3a1929efba
44 changed files with 549 additions and 438 deletions
24
client/src/components/FixedWrapper/FixedWrapper.jsx
Normal file
24
client/src/components/FixedWrapper/FixedWrapper.jsx
Normal file
|
@ -0,0 +1,24 @@
|
|||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import HeaderContainer from '../../containers/HeaderContainer';
|
||||
import ProjectContainer from '../../containers/ProjectContainer';
|
||||
|
||||
import styles from './FixedWrapper.module.css';
|
||||
|
||||
const FixedWrapper = ({ projectId }) => (
|
||||
<div className={styles.wrapper}>
|
||||
<HeaderContainer />
|
||||
{projectId && <ProjectContainer />}
|
||||
</div>
|
||||
);
|
||||
|
||||
FixedWrapper.propTypes = {
|
||||
projectId: PropTypes.string,
|
||||
};
|
||||
|
||||
FixedWrapper.defaultProps = {
|
||||
projectId: undefined,
|
||||
};
|
||||
|
||||
export default FixedWrapper;
|
Loading…
Add table
Add a link
Reference in a new issue