File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed
adev/src/app/features/home/components/home-animation Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,27 @@ $transition: 200ms linear;
70
70
.adev-banner-container {
71
71
display : flex ;
72
72
flex-direction : column ;
73
- gap : .5rem ;
73
+ gap : 0 .5rem ;
74
74
position : absolute ;
75
75
transition :
76
76
background 0.3s ease ,
77
77
border 0.3s ease ,
78
78
transform $transition ;
79
79
top : var (--layout-padding );
80
80
left : calc (var (--layout-padding ) + var (--primary-nav-width ));
81
+
82
+ @include mq .for-tablet-landscape-down {
83
+ top : 6rem ;
84
+ left : var (--layout-padding );
85
+ /* Assuming the container width is identical to the viewport width (mobile device). */
86
+ max-width : calc (100% - var (--layout-padding ) * 2 );
87
+ }
88
+
89
+ @include mq .for-phone-only {
90
+ & {
91
+ top : 5rem ;
92
+ }
93
+ }
81
94
}
82
95
83
96
.adev-banner {
@@ -93,21 +106,6 @@ $transition: 200ms linear;
93
106
width : fit-content ;
94
107
box-sizing : border-box ;
95
108
96
- @include mq .for-tablet-landscape-down {
97
- & {
98
- top : 6rem ;
99
- left : var (--layout-padding );
100
- /* Assuming the container width is identical to the viewport width (mobile device). */
101
- max-width : calc (100% - var (--layout-padding ) * 2 );
102
- }
103
- }
104
-
105
- @include mq .for-phone-only {
106
- & {
107
- top : 5rem ;
108
- }
109
- }
110
-
111
109
h1 ,
112
110
p {
113
111
display : inline ;
You can’t perform that action at this time.
0 commit comments