diff --git a/app/Components/CreateNewTask.php b/app/Components/CreateNewTask.php index 06eace0..f4045ef 100644 --- a/app/Components/CreateNewTask.php +++ b/app/Components/CreateNewTask.php @@ -24,7 +24,7 @@ class CreateNewTask extends Container new Text(text: 'save Task', style: 'text-2xl text-white ml-5') ]), style: 'flex-none w-190 bg-green-500 rounded-xl p-4 ml-10 hover:bg-green-700'); - $this->textEdit = new TextEdit(style: 'flex-1 text-2xl bg-slate-200 px-10 rounded-xl text-black p-6', placeholder: 'Placeholder'); + $this->textEdit = new TextEdit(style: 'flex-1 text-2xl bg-slate-100 px-10 rounded-xl text-black p-6', placeholder: 'Placeholder'); $this->views = new Views([ $this->textEdit, $this->saveButton, diff --git a/app/Components/NoProjectSelectedTaskList.php b/app/Components/NoProjectSelectedTaskList.php index 6db96db..2bcd539 100644 --- a/app/Components/NoProjectSelectedTaskList.php +++ b/app/Components/NoProjectSelectedTaskList.php @@ -14,14 +14,14 @@ class NoProjectSelectedTaskList extends Container public function __construct() { - $this->style = "flex-1 bg-red-200"; + $this->style = "flex-1 bg-red-200 flex flex-col"; $this->headline = new Text(text: 'Please select Project', style: 'w-full text-4xl bg-lime-400 m-10 p-10 text-black'); } public function getViews(): ?Views { return new Views([ - // $this->headline + $this->headline ]); } } \ No newline at end of file diff --git a/app/Components/ProjectList.php b/app/Components/ProjectList.php index ace2e08..4411d13 100644 --- a/app/Components/ProjectList.php +++ b/app/Components/ProjectList.php @@ -27,8 +27,8 @@ class ProjectList extends Container public function __construct(private Lifecycle $lifecycle, private \PHPNative\Container\Container $container) { - parent::__construct(); - $this->style = 'flex-none w-300 flex flex-col'; + parent::__construct(id: 'projectlist'); + $this->style = 'flex-none w-300 flex flex-col bg-green-500'; $this->createButton = new CreateButton("create Project"); $this->createButton->setOnClick(fn(Worker $worker) => $this->addProject($worker)); $this->listData = new ProjectListData();