Skip to content

Commit 99fa514

Browse files
committed
final changes to resposiveness - i phone x landscape font too big and could use some css
1 parent 56ce9b1 commit 99fa514

2 files changed

Lines changed: 24 additions & 23 deletions

File tree

src/pages/wizard/wizard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ <h1 class="h1">Timeline</h1>
8383
<h1 class="h1">Profile</h1>
8484
</ion-list-header>
8585
<p class='h2'>
86-
You can see your information any time or update it from your profile page.
86+
In your profile page you can see your information or update it at any time .
8787
</p>
8888
</ion-list>
8989
<img class= 'demo-img'src='../../assets/imgs/profile.png'>

src/pages/wizard/wizard.scss

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ page-wizard {
7373
padding: 5px;
7474
margin: 0px !important;
7575
top: -5px;
76-
7776
}
7877
.h1{
7978
font-weight: bold;
8079
font-size: 20px;
8180
margin-right: 5px;
81+
white-space: normal;
8282
}
8383
.h2 {
8484
white-space: normal;
@@ -94,6 +94,7 @@ page-wizard {
9494
}
9595
.demo-img{
9696
width: 60%;
97+
9798
}
9899
.select-placeholder, .select-text{
99100
font-size: 20px;
@@ -200,27 +201,26 @@ page-wizard {
200201
height: 55px;
201202
margin: auto
202203
}
203-
@media screen and (orientation: portrait) {
204-
.h1 {
205-
font-size: 40px;
206-
}
207-
.h2 {
208-
font-size: 28px;
209-
}
210-
}
211-
}
212-
@media screen and (min-width: 1024px) {
213204
.h1 {
214205
font-size: 40px;
215206
}
216207
.h2 {
217208
font-size: 28px;
218-
}
209+
}
210+
211+
}
212+
@media screen and (min-width: 1024px) {
219213
@media screen and(orientation: portrait){
220214
.button1{
221215
width: 230px;
222216
height: 70px;
223217
}
218+
.h1 {
219+
font-size: 50px;
220+
}
221+
.h2 {
222+
font-size: 38px;
223+
}
224224
}
225225
}
226226

@@ -240,15 +240,6 @@ page-wizard {
240240
}
241241
}
242242

243-
// @media screen and (min-width: 700px) and (orientation: portrait){
244-
// .h1 {
245-
// font-size: 40px;
246-
// }
247-
// .h2 {
248-
// font-size: 28px;
249-
// }
250-
// }
251-
252243
@media screen and (orientation:landscape) {
253244
.demo-slide .slide-zoom {
254245
display: flex;
@@ -270,6 +261,7 @@ page-wizard {
270261
}
271262
.demo-img{
272263
width: 37%;
264+
margin-left: 2.2vw;
273265
}
274266
.top-question {
275267
position: relative;
@@ -282,6 +274,12 @@ page-wizard {
282274
height: 70px;
283275
font-size: 30px;
284276
}
277+
.h1 {
278+
font-size: 50px;
279+
}
280+
.h2 {
281+
font-size: 38px;
282+
}
285283
}
286284
@media screen and (max-width: 850px) {
287285
ion-badge{
@@ -293,7 +291,10 @@ page-wizard {
293291
width: 80%;
294292
}
295293
.demo-img{
296-
width: 10%;
294+
width: 25%;
295+
}
296+
.demo-header {
297+
width: 55%;
297298
}
298299
.question-header{
299300
margin: 0px;

0 commit comments

Comments
 (0)