Skip to content

Commit 27df595

Browse files
authored
Merge pull request #236 from vdvibhu20/ui-fixes
Ui fixes
2 parents 4503028 + 54acfcc commit 27df595

15 files changed

+81
-31
lines changed

examples/views/about-course.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@
8686

8787
</div>
8888
<div class="button-container row justify-content-center">
89-
<div class="button-solid col-6">
89+
<div class="button-solid col-5">
9090
<button>BUY NOW TO ENROLL</button>
9191
</div>
9292

93-
<div class="button-dashed col-6">
93+
<div class="button-dashed col-5">
9494
<button>ENROLL VIA OTP</button>
9595
</div>
9696
</div>

examples/views/doubts.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
Quo essent postulant te, dicant libris nostrum in nec. Quo albucius consetetur et, vis probo veritus volumus ea. Eu nibh saepe mnesarchum pro, qui prompta scripserit no, has errem timeam ex. Per quis solum prodesset in. Pri id populo intellegat, tollit pericula gloriatur duo cu.
103103
</div>
104104
</div>
105-
<div class="row doubt">
105+
<div class="row doubt">
106106
<div class="d-flex flex-row doubt-head">
107107
<div class="left flex-row mr-auto">
108108
<div class="round-img">

sass/styles/_media-query.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@
3232
@import "media-query/media.arrangement";
3333
@import "media-query/media.sidebar.scss";
3434
@import "media-query/media.pill";
35+
@import "media-query/media.doubt";

sass/styles/elements/elements.navigation.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
top:0;
66
background: $white;
77
width: 100%;
8+
height: 90px;
89
max-height:100px;
910
z-index: 200;
1011
display: flex;

sass/styles/media-query/media.about.course.scss

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,15 @@
1919
position: relative;
2020
width: 100%;
2121
top: 0;
22-
.button-dashed {
23-
margin: 0;
24-
}
22+
margin-top: 35px;
23+
24+
&.slide-right{
25+
transform: unset;
26+
}
27+
28+
.button-dashed {
29+
margin: 0;
30+
}
2531
}
2632

2733
.o-summary .para {
@@ -95,6 +101,4 @@
95101
.o-buy-top {
96102
display: none;
97103
}
98-
}
99-
100-
104+
}

sass/styles/media-query/media.card.layout.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@
8989
width: 10%;
9090
}
9191

92-
.button-dashed {
93-
margin: 20px auto;
94-
}
95-
9692
.card, .card-text, .card-heading {
9793
height: auto;
9894
}
@@ -130,10 +126,6 @@
130126
width: 25%;
131127
}
132128

133-
.button-dashed {
134-
margin: 20px auto;
135-
}
136-
137129
.card-mentor-text {
138130
text-align: center;
139131
display: block;
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
@media screen and (max-width: 575px){
2+
.o-doubt{
3+
padding: 40px 0;
4+
5+
.head{
6+
padding: 0 7%;
7+
}
8+
9+
.doubt-head{
10+
.round-img {
11+
@include dimensions(35px, 35px)
12+
}
13+
14+
.author-name {
15+
font-size: $card-md;
16+
margin-left: 13px;
17+
18+
.time {
19+
font-size: $card-sm;
20+
color: $navLink;
21+
}
22+
}
23+
24+
.text {
25+
margin-right: 10px;
26+
font-size: $card-md;
27+
}
28+
29+
.reply {
30+
width: 8%;
31+
min-width: 73px;
32+
font-size: $card-sm;
33+
height: 28px;
34+
}
35+
}
36+
}
37+
38+
.doubt-body{
39+
text-align: justify;
40+
font-size: $card-md;
41+
}
42+
}
43+

sass/styles/media-query/media.headings.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,9 @@
1919
padding-right: 15px;
2020
margin-bottom: 30px;
2121
}
22+
23+
.heading-u{
24+
font-size: $global-font-size;
25+
}
2226
}
2327

sass/styles/media-query/media.navigation.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
.main-nav{
3535
padding-top: 10px;
3636
padding-bottom: 10px;
37+
height: 60px;
3738

3839
.hamburger-parent{
3940
font-size: $global-font-size;

sass/styles/media-query/media.o-client-add.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
.button-row {
2424
margin-top: 20px;
2525
}
26-
2726
}
2827
}
2928

@@ -85,4 +84,6 @@
8584
}
8685
}
8786
}
87+
88+
8889
}

0 commit comments

Comments
 (0)