Fix position of post header

master
Max 5 years ago
parent d37371910d
commit ab386423ef

@ -8,13 +8,22 @@ $mat-card-header-size: 40px !default
margin-top: 0.5em margin-top: 0.5em
outline: none outline: none
user-select: none user-select: none
overflow-x: hidden padding-top: 0
.mat-card-header
text-align: left
display: flex
justify-content: center
align-items: center
::ng-deep .mat-card-header-text ::ng-deep .mat-card-header-text
margin-top: 10px margin-top: 16px
word-break: break-all
width: 110%
.mat-card-subtitle .mat-card-subtitle
display: contents display: contents
word-break: break-word
.mat-card-content .mat-card-content
overflow: auto overflow: auto
@ -80,8 +89,10 @@ $mat-card-header-size: 40px !default
.voteButton .voteButton
scale: 0.8 scale: 0.8
transform: scale(0.8)
transition-duration: 0.125s transition-duration: 0.125s
&.voted &.voted
transform: scale(0.9)
scale: 0.9 scale: 0.9
.voteCount .voteCount
@ -98,9 +109,11 @@ $mat-card-header-size: 40px !default
display: flex display: flex
align-items: center align-items: center
.voteButton .voteButton
scale: 1 scale: 0.8
transform: scale(0.8)
&.voted &.voted
scale: 1.1 scale: 1
transform: scale(1)
.mat-card-actions .mat-card-actions
display: -webkit-box display: -webkit-box

Loading…
Cancel
Save