Merge branch 'julius-dev' of Software_Engineering_I/greenvironment-frontend into master

master
Trivernis 5 years ago committed by Gitea
commit 0dfa2348e6

@ -27,7 +27,7 @@
<mat-card-actions> <mat-card-actions>
<div *ngIf="post.activity" class="activity-info" fxHide.gt-sm="true"> <div *ngIf="post.activity" class="activity-info" fxHide.gt-sm="true">
<span class="span" [matTooltip]="post.activity.description" matTooltipShowDelay="200"> <span class="span" [matTooltip]="post.activity.description" matTooltipShowDelay="200">
{{post.activity.points}} points earned through <b>{{post.activity.name}}</b> +{{post.activity.points}} points with <b>{{post.activity.name}}</b>
</span> </span>
</div> </div>
<div class="postVoteButtons"> <div class="postVoteButtons">
@ -44,7 +44,7 @@
</div> </div>
<div *ngIf="post.activity" class="activity-info" fxHide.lt-md="true"> <div *ngIf="post.activity" class="activity-info" fxHide.lt-md="true">
<span class="span" [matTooltip]="post.activity.description" matTooltipShowDelay="200"> <span class="span" [matTooltip]="post.activity.description" matTooltipShowDelay="200">
{{post.activity.points}} points earned through <b>{{post.activity.name}}</b> {{post.activity.points}} points earned with <b>{{post.activity.name}}</b>
</span> </span>
</div> </div>
</mat-card-actions> </mat-card-actions>

@ -32,6 +32,9 @@ $mat-card-header-size: 40px !default
text-decoration: underline text-decoration: underline
cursor: pointer cursor: pointer
.postlistUsername
cursor: pointer
.postVoteButtons .postVoteButtons
display: inline-block display: inline-block
@ -60,8 +63,7 @@ $mat-card-header-size: 40px !default
.mat-button .mat-button
min-width: 32px !important min-width: 32px !important
padding: 0 padding: 0
margin: 0 margin: 0 0 0 8px
margin-left: 8px
.profile-picture .profile-picture
border-radius: 50% border-radius: 50%
@ -87,7 +89,6 @@ $mat-card-header-size: 40px !default
@media (max-width: 959px) @media (max-width: 959px)
.activity-info > .span .activity-info > .span
margin-left: 1em margin-left: 1em
width: calc(100% - 1em)
display: block display: block
text-align: left text-align: left
.postVoteButtons .postVoteButtons
@ -101,7 +102,7 @@ $mat-card-header-size: 40px !default
scale: 1.1 scale: 1.1
.mat-card-actions .mat-card-actions
display: flex display: -webkit-box
justify-content: end justify-content: end
align-items: center align-items: center

Loading…
Cancel
Save