This commit is contained in:
Chneemann 2024-04-07 18:22:39 +02:00
parent 0aba24ada5
commit af28af304e
3 changed files with 8 additions and 4 deletions

View file

@ -35,7 +35,7 @@
<p>Description<span class="red-dot">*</span></p>
<textarea
id="description"
rows="6"
rows="5"
name="description"
#description="ngModel"
minlength="10"

View file

@ -121,7 +121,10 @@ export class AddTaskComponent {
@HostListener('document:click', ['$event'])
checkOpenNavbar(event: MouseEvent) {
const targetElement = event.target as HTMLElement;
if (!targetElement.closest('.search-assigned')) {
if (
!targetElement.closest('.search-assigned') &&
!targetElement.closest('app-assigned')
) {
this.isAssignedOpen = false;
}
}

View file

@ -5,18 +5,19 @@ section {
right: 0;
width: 100%;
height: auto;
max-height: 150px;
padding-top: 12px;
border-radius: 0px 0px 20px 20px;
border: 1px solid var(--light-gray);
border-top: 0px;
background-color: var(--white);
overflow: auto;
overflow-y: auto;
}
.content {
display: flex;
align-items: center;
padding: 12px 18px;
padding: 6px 12px;
cursor: pointer;
&:hover {
background-color: var(--light-gray);