From c5cb29edbccd47a464ae026d552d868972cbbef2 Mon Sep 17 00:00:00 2001 From: Loi Phan Date: Fri, 21 Jul 2023 14:49:07 +0700 Subject: [PATCH] Fix error UI The location of dot is not correctly --- practice/practice-02/src/styles/layouts/_welcome.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/practice/practice-02/src/styles/layouts/_welcome.scss b/practice/practice-02/src/styles/layouts/_welcome.scss index 6a9161e..841f56e 100644 --- a/practice/practice-02/src/styles/layouts/_welcome.scss +++ b/practice/practice-02/src/styles/layouts/_welcome.scss @@ -1,3 +1,7 @@ +.secondary-text { + position: relative; +} + .welcome { @include flex-container(center, column); margin: auto; @@ -85,7 +89,7 @@ } &__underline-img-container { - margin-top: 12px; + @include setAbsoluteAndLocation($bottom: -20px, $left: 0px); } &__description { @@ -198,10 +202,6 @@ } @media screen and (min-width: 840px) { - .secondary-text { - position: relative; - } - .welcome { @include flex-container( $flex-direction: row-reverse,