Fix mobile layout for Chrome Mobile

master
trivernis 5 years ago
parent c094071922
commit a6acf480a7

@ -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>

@ -27,11 +27,13 @@ $mat-card-header-size: 40px !default
margin: 0 margin: 0
.postlistUsername, a .postlistUsername, a
cursor: pointer
margin-right: 0.4em margin-right: 0.4em
&:hover &:hover
text-decoration: underline text-decoration: underline
.postlistUsername
cursor: pointer
.postVoteButtons .postVoteButtons
display: inline-block display: inline-block
@ -57,8 +59,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%
@ -84,7 +85,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
@ -98,7 +98,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