mirror of
https://github.com/bendtherules/demo-trello-app.git
synced 2026-08-19 00:31:31 +00:00
TaskList - Make New List button better
This commit is contained in:
@@ -12,8 +12,9 @@ export function NewTaskListPrompt() {
|
|||||||
return (
|
return (
|
||||||
<div className={styles.listContainer}>
|
<div className={styles.listContainer}>
|
||||||
<input
|
<input
|
||||||
|
className={styles.newListInput}
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Create list"
|
placeholder="+ Create list"
|
||||||
value={newListname}
|
value={newListname}
|
||||||
onChange={e => setNewListname(e.target.value)}
|
onChange={e => setNewListname(e.target.value)}
|
||||||
onKeyPress={e => {
|
onKeyPress={e => {
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
.listContainer {
|
.listContainer {
|
||||||
flex: 0 0 250px;
|
flex: 0 0 250px;
|
||||||
|
height: max-content;
|
||||||
margin: 0 8px;
|
margin: 0 8px;
|
||||||
padding: 0px 8px;
|
padding: 0px 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
@@ -17,3 +18,13 @@
|
|||||||
.listName {
|
.listName {
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.newListInput {
|
||||||
|
margin: 16px 0;
|
||||||
|
font-size: 1em;
|
||||||
|
font-weight: bold;
|
||||||
|
border-radius: 3px;
|
||||||
|
border: unset;
|
||||||
|
padding: 2px 4px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user