mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-26 02:04:17 +00:00
Rearrange CSS rules into something with more sense
This commit is contained in:
parent
4d46be862b
commit
def0298b12
3 changed files with 17 additions and 11 deletions
|
@ -3,3 +3,19 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.boardColumnContents > * {
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.boardColumnContents {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
padding-left: 4px;
|
||||||
|
padding-right: 4px;
|
||||||
|
padding-bottom: 8px;
|
||||||
|
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ export function BoardColumn({taskGroup}: {taskGroup: TaskGroup}) {
|
||||||
<h3>
|
<h3>
|
||||||
{taskGroup.name}
|
{taskGroup.name}
|
||||||
</h3>
|
</h3>
|
||||||
<div>
|
<div className={style.boardColumnContents}>
|
||||||
{taskGroup.tasks.map(task => <TaskDisplay task={task} key={task.id}/>)}
|
{taskGroup.tasks.map(task => <TaskDisplay task={task} key={task.id}/>)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -17,13 +17,3 @@
|
||||||
|
|
||||||
max-width: 480px;
|
max-width: 480px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.boardMainTaskGroups > div > div {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 8px;
|
|
||||||
overflow-y: scroll;
|
|
||||||
padding-left: 4px;
|
|
||||||
padding-right: 4px;
|
|
||||||
padding-bottom: 8px;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue