diff --git a/frontend/src/app/components/home/home.component.ts b/frontend/src/app/components/home/home.component.ts index e187254..4ddde1c 100644 --- a/frontend/src/app/components/home/home.component.ts +++ b/frontend/src/app/components/home/home.component.ts @@ -32,7 +32,6 @@ import { ErrorService } from '../../services/error.service'; }) export class HomeComponent implements OnInit { currentRoute: any; - displayErrorToast: boolean = false; constructor( private route: ActivatedRoute, diff --git a/frontend/src/app/shared/components/error-toast/error-toast.component.scss b/frontend/src/app/shared/components/error-toast/error-toast.component.scss index ae47cd6..3d4f3e7 100644 --- a/frontend/src/app/shared/components/error-toast/error-toast.component.scss +++ b/frontend/src/app/shared/components/error-toast/error-toast.component.scss @@ -3,6 +3,7 @@ section { position: relative; width: 615px; + max-width: 80%; height: fit-content; padding: 12px 32px; border-radius: 20px; @@ -91,3 +92,37 @@ section { align-items: center; z-index: 999; } + +/*------------- RESPONSIVE -------------*/ + +@media screen and (max-width: 600px) { + section { + position: absolute; + bottom: 0; + left: 0; + right: 0; + height: fit-content; + min-height: 120px; + max-width: 90%; + border-bottom-left-radius: 0px; + border-bottom-right-radius: 0px; + } + + .left { + border-top-left-radius: 20px; + border-top-right-radius: 20px; + border-bottom-left-radius: 0; + } + + .right { + top: 12px; + right: 60px; + .line { + display: none; + } + } + + .content { + margin-top: 48px; + } +}