1
Fork 0
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:
Steffo 2023-08-06 02:11:28 +02:00
parent 4d46be862b
commit def0298b12
Signed by: steffo
GPG key ID: 2A24051445686895
3 changed files with 17 additions and 11 deletions

View file

@ -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;
}

View file

@ -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>

View file

@ -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;
}