mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 13:19:44 +02:00
Background gradients, migrate from CSS to SCSS, remove !important
This commit is contained in:
parent
8534ed292c
commit
5bfff3865f
312 changed files with 4295 additions and 2989 deletions
|
@ -8,7 +8,7 @@ import AddMembershipPopup from './AddMembershipPopup';
|
|||
import EditMembershipPopup from './EditMembershipPopup';
|
||||
import User from '../User';
|
||||
|
||||
import styles from './Project.module.css';
|
||||
import styles from './Project.module.scss';
|
||||
|
||||
const Project = React.memo(
|
||||
({
|
||||
|
@ -38,16 +38,6 @@ const Project = React.memo(
|
|||
};
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (background) {
|
||||
if (background.type === 'image') {
|
||||
document.body.style.background = `url(${backgroundImage.url}) center / cover fixed #22252a`;
|
||||
}
|
||||
} else {
|
||||
document.body.style.background = null;
|
||||
}
|
||||
}, [background, backgroundImage]);
|
||||
|
||||
return (
|
||||
<div className={styles.wrapper}>
|
||||
<Grid className={styles.header}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue