File tree 2 files changed +20
-9
lines changed
2 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -1031,6 +1031,9 @@ ul.pagination {
1031
1031
}
1032
1032
}
1033
1033
1034
+ .people-page .pagination {
1035
+ justify-content : center ;
1036
+ }
1034
1037
1035
1038
// User grid
1036
1039
.user-grid {
@@ -1047,12 +1050,17 @@ ul.pagination {
1047
1050
1048
1051
.user-info {
1049
1052
.img-container {
1050
- img {
1053
+ .user-avatar {
1051
1054
border-radius : 50% ;
1052
1055
width : 8rem ;
1053
1056
height : 8rem ;
1054
1057
overflow : hidden ;
1055
- object-fit : cover ;
1058
+ display : inline-block ;
1059
+ img {
1060
+ object-fit : cover ;
1061
+ width : 100% ;
1062
+ height : 100% ;
1063
+ }
1056
1064
}
1057
1065
}
1058
1066
text-align : center ;
Original file line number Diff line number Diff line change 12
12
@if(result.params.isFiltered || result.nonEmpty) {
13
13
@helper.form(action = searchAction, 'role -> "form") {
14
14
@views.html.common.search.searchBar(result.params, tips = false)
15
-
16
- < ul class ="user-grid ">
17
- @result.page.map { case (user, hit) =>
15
+ < div class =" people-page " >
16
+ < ul class ="user-grid ">
17
+ @result.page.map { case (user, hit) =>
18
18
< li class ="user-grid-item user-info ">
19
19
< div class ="user-info-details ">
20
20
< a href ="@controllers.portal.social.routes.Social.userProfile(user.id) " class ="gravitar img-container ">
21
21
< span class ="helper "> </ span >
22
- < img alt ="Image " width ="100% " height ="auto " src ="@views.Helpers.gravitar(user.data.imageUrl) " />
22
+ < div class ="user-avatar ">
23
+ < img alt ="Image " width ="100% " height ="auto " src ="@views.Helpers.gravitar(user.data.imageUrl) " />
24
+ </ div >
23
25
</ a >
24
26
< h3 > < a class ="name " href ="@controllers.portal.social.routes.Social.userProfile(user.id) "> @user.toStringLang</ a > </ h3 >
25
27
@userInfo {
@@ -37,9 +39,10 @@ <h3><a class="name" href="@controllers.portal.social.routes.Social.userProfile(u
37
39
}
38
40
</ div >
39
41
</ li >
40
- }
41
- </ ul >
42
- @common.pagination(result.page)
42
+ }
43
+ </ ul >
44
+ @common.pagination(result.page)
45
+ </ div >
43
46
}
44
47
}
45
48
}
You can’t perform that action at this time.
0 commit comments