Fixes
This commit is contained in:
parent
b9a775f35e
commit
e1d93a0d1f
@ -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,
|
||||
|
||||
@ -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
|
||||
]);
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user