mirror of
https://github.com/plankanban/planka.git
synced 2025-08-03 20:45:27 +02:00
Background gradients, migrate from CSS to SCSS, remove !important
This commit is contained in:
parent
196121bd38
commit
ff95a12578
312 changed files with 4295 additions and 2989 deletions
24
client/src/components/Fixed/Fixed.jsx
Normal file
24
client/src/components/Fixed/Fixed.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 './Fixed.module.scss';
|
||||
|
||||
const Fixed = ({ projectId }) => (
|
||||
<div className={styles.wrapper}>
|
||||
<HeaderContainer />
|
||||
{projectId && <ProjectContainer />}
|
||||
</div>
|
||||
);
|
||||
|
||||
Fixed.propTypes = {
|
||||
projectId: PropTypes.string,
|
||||
};
|
||||
|
||||
Fixed.defaultProps = {
|
||||
projectId: undefined,
|
||||
};
|
||||
|
||||
export default Fixed;
|
6
client/src/components/Fixed/Fixed.module.scss
Normal file
6
client/src/components/Fixed/Fixed.module.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
:global(#app) {
|
||||
.wrapper {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
3
client/src/components/Fixed/index.js
Normal file
3
client/src/components/Fixed/index.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
import Fixed from './Fixed';
|
||||
|
||||
export default Fixed;
|
Loading…
Add table
Add a link
Reference in a new issue