Skip to content

Commit 173b807

Browse files
Merge pull request #179 from jusrus01/improving-reactions
Fixed reactions
2 parents 48663ed + fde5314 commit 173b807

File tree

3 files changed

+27
-11
lines changed

3 files changed

+27
-11
lines changed

src/webapp/src/client/app/common/directives/wall/message-like/list/like-list-popover/like-list-popover-modal.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@
5959

6060
<div class="modal-body popover-likes-modal-content">
6161
<!-- All likes list -->
62-
<ul class="likes-list no-bottom-margin"
62+
<ul class="likes-list"
6363
ng-repeat="likes in vm.modalLikes track by $index"
6464
ng-if="vm.currentLikeTab === vm.likeTypes.length">
6565

66-
<li ng-repeat="like in likes">
66+
<li ng-repeat="like in likes" class="likes-list-item">
6767
<a ng-if="$index > 0"
6868
class="likes-list-img-link"
6969
ui-sref="Root.WithOrg.Client.Profiles.Details({ id: like.userId })">
@@ -96,7 +96,7 @@
9696
ng-if="vm.currentLikeTab !== vm.likeTypes.length">
9797

9898
<span ng-if="likes.length > 1 && $index == vm.currentLikeTab">
99-
<li ng-repeat="like in likes">
99+
<li ng-repeat="like in likes" class="likes-list-item">
100100
<a ng-if="$index > 0"
101101
class="likes-list-img-link"
102102
ui-sref="Root.WithOrg.Client.Profiles.Details({ id: like.userId })">

src/webapp/src/client/app/common/directives/wall/message-like/list/like-list-popover/like-list-popover.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
<div class="clearfix"></div>
99

1010
<ul class="likes-list" data-test-id="likes-popover-ul">
11-
<li ng-repeat="like in likes|limitTo:popoverLikeCount + 1">
11+
<li class="popover-likes-list-item" ng-repeat="like in likes|limitTo:popoverLikeCount + 1">
1212

1313
<a ng-if="$index > 0" class="likes-list-span" data-test-id="like-list-name">
1414
{{:: like.fullName}}
1515
</a>
1616
</li>
1717

18-
<p class="likes-list-span blue" ng-if="hiddenUsersCount > 0">
18+
<p class="likes-list-span blue" ng-if="hiddenUserCount > 0">
1919
and {{hiddenUserCount}} more...
2020
</p>
2121
</ul>

src/webapp/src/client/styles/style/modules/_modules-other.less

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -849,22 +849,28 @@ div.post-text-container {
849849
.likes-list {
850850
list-style-type: none;
851851
margin-left: -40px;
852+
853+
li:first-child {
854+
margin: 0;
855+
}
856+
}
857+
858+
.likes-list-item {
859+
margin-bottom: 10px;
860+
display: flex;
861+
align-items: center;
852862
}
853863

854864
.likes-list-img {
855865
width: 40px;
866+
height: 40px;
867+
object-fit: cover;
856868
}
857869

858870
.likes-list-img-link {
859871
text-decoration: none !important;
860872
}
861873

862-
.likes-list li {
863-
margin-bottom: 5px;
864-
display: flex;
865-
align-items: center;
866-
}
867-
868874
.likes-list-span {
869875
font-size: 14px;
870876
height: auto;
@@ -888,6 +894,12 @@ div.post-text-container {
888894
margin-left: auto;
889895
}
890896

897+
.popover-likes-list-item {
898+
margin-bottom: 5px;
899+
display: flex;
900+
align-items: center;
901+
}
902+
891903
.popover-modal-like-tabs {
892904
align-items: center;
893905
padding-left: 15px;
@@ -911,6 +923,10 @@ div.post-text-container {
911923
overflow-x: hidden;
912924
overflow-y: auto;
913925

926+
> ul {
927+
margin-bottom: 0;
928+
}
929+
914930
li.span {
915931
margin-left: auto;
916932
}

0 commit comments

Comments
 (0)