Skip to content

Commit 368a8b2

Browse files
committed
App name and price more responsive with long strings
1 parent 962b87f commit 368a8b2

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

_sass/layout.scss

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ nav > ul li a:active {
154154
height: 120px;
155155
-webkit-clip-path: url(#shape120);
156156
clip-path: url(#shape120);
157-
margin-right: 30px;
158157
}
159158

160159
.appNamePriceContainer {
@@ -163,6 +162,7 @@ nav > ul li a:active {
163162
flex-direction: column;
164163
align-items: start;
165164
justify-content: center;
165+
margin-left: 30px;
166166
}
167167

168168
.appName {
@@ -175,6 +175,27 @@ nav > ul li a:active {
175175
margin-top: 13px;
176176
}
177177

178+
@media only screen and (max-width: 768px) {
179+
180+
.appNamePriceContainer {
181+
width: 100%;
182+
margin-left: 0px;
183+
align-items: center;
184+
justify-content: center;
185+
}
186+
187+
.appName {
188+
margin-top: 30px;
189+
text-align: center;
190+
}
191+
192+
.appPrice {
193+
margin-top: 13px;
194+
text-align: center;
195+
}
196+
197+
}
198+
178199
.appDescriptionContainer {
179200
align-items: flex-start;
180201
margin-top: 45px;

0 commit comments

Comments
 (0)