From 63c497bdd0aa6d0919769fecc98b552c0df0dcca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20FINDIKLI?= Date: Tue, 11 Jan 2022 15:42:40 +0300 Subject: [PATCH] Update landing.component.ts --- src/app/components/landing/landing.component.ts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/app/components/landing/landing.component.ts b/src/app/components/landing/landing.component.ts index e32cd6e..5b75fa2 100644 --- a/src/app/components/landing/landing.component.ts +++ b/src/app/components/landing/landing.component.ts @@ -17,14 +17,7 @@ import { Component, OnInit, OnDestroy } from '@angular/core'; } } - @media screen and (max-width: 1300px){ - #hero > img { - transform: scale(0.85); - top:10%; - } - } - - @media screen and (min-width: 1260px){ + @media screen and (min-width: 1300px){ #hero > img { position: absolute; } @@ -34,7 +27,7 @@ import { Component, OnInit, OnDestroy } from '@angular/core'; } } - @media screen and (max-width: 1260px){ + @media screen and (max-width: 1300px){ #hero { height: 600px; } @@ -51,6 +44,7 @@ import { Component, OnInit, OnDestroy } from '@angular/core'; #hero > div > p { width: 100%; + max-width: 100%; } } `]