Merge branch 'niklas_dev2' of Software_Engineering_I/greenvironment-frontend into master

master
Niklas_L 5 years ago committed by Gitea
commit 48abfc5030

@ -8,7 +8,7 @@
</div> </div>
<div class="itembody"> <div class="itembody">
<div class='text'> <div class='text'>
<p [innerHTML]="post.htmlContent"></p> <p [innerHTML]="post.htmlContent" id="content"></p>
</div> </div>
<div class="vote"> <div class="vote">
<button id="down" type='submit'><span><i class="fa fa-thumbs-o-down fa-2x" aria-hidden="true" (click)="voteDown(post)"></i></span></button> <button id="down" type='submit'><span><i class="fa fa-thumbs-o-down fa-2x" aria-hidden="true" (click)="voteDown(post)"></i></span></button>

@ -34,6 +34,11 @@
grid-template: 100% /85% 15% grid-template: 100% /85% 15%
.text .text
@include gridPosition(1, 2, 1, 2) @include gridPosition(1, 2, 1, 2)
overflow-x: hidden
::ng-deep img
max-width: 100%
height: auto
.vote .vote
@include gridPosition(1, 2, 2, 3) @include gridPosition(1, 2, 2, 3)
display: grid display: grid

Loading…
Cancel
Save