Skip to content

Commit f11ae58

Browse files
committed
updates in responsiveness
1 parent f7f4b2d commit f11ae58

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

react/reactapp/src/components/Dashboard/ShowApplicants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function ShowApplicants(){
162162
</Link>
163163
&nbsp;&nbsp;&nbsp;&nbsp;
164164
<Link to={`getDetail/${data._id}`}>
165-
<i class="fa-sharp fa-solid fa-circle-info"></i>
165+
<i className="fa-sharp fa-solid fa-circle-info"></i>
166166
</Link>
167167
</td>
168168
</tr>

react/reactapp/src/components/Dashboard/app.css

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/* SET Common CSS PROPERTIES */
22
/* all */
3-
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
3+
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
44

55
* {
6+
box-sizing: border-box;
67
margin: 0;
78
padding: 0;
8-
box-sizing: border-box;
9-
font-family: "Poppins", sans-serif;
9+
font-family: 'Open Sans', sans-serif;
1010
}
1111

1212
body {
@@ -25,7 +25,7 @@ body {
2525

2626
.container{
2727
min-width: 100%;
28-
min-height: 100%;
28+
overflow: hidden;
2929

3030
}
3131
}
@@ -57,8 +57,6 @@ body {
5757
/* remove text decoration from hyperlink */
5858
Link, a{
5959
text-decoration: none;
60-
61-
6260
}
6361

6462
/* delete button */
@@ -91,7 +89,6 @@ Link, a{
9189
padding-right:12px;
9290
background:none;
9391
color:#FFF;
94-
9592
}
9693

9794
.delete {
@@ -146,8 +143,6 @@ Link, a{
146143
content: "\f0c7";
147144
}
148145

149-
.inlineIcon {}
150-
151146
.edit:before, .save:before, .new:before, .cancel:before, .delete:before {
152147
font-family: FontAwesome;
153148
display: inline-block;

react/reactapp/src/components/Dashboard/formStyle.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ form .button input:hover {
164164
}
165165

166166
.form-container form .user__details {
167-
max-height: 300px;
167+
max-height: 240px;
168168
overflow-y: scroll;
169169
min-width: 100%;
170170
}

react/reactapp/src/components/Dashboard/getDetail.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ function GetDetail(){
77
const [courses, setCourses] = useState([])
88
// get applicant id from the route
99
const {id} = useParams();
10+
11+
// add title
12+
useEffect(() =>{
13+
document.title ='Course detail of applicant';
14+
})
15+
1016
// applicant detail from api
1117
useEffect(() =>{
1218
// all courses by applicant id

0 commit comments

Comments
 (0)