Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Fixing margins to not be bouncy on desktop.
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed May 17, 2018
1 parent aca2d79 commit 017d86a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/app/components/candidate/candidate.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="mb-3">
<div class="mb-1" *ngIf="!this.candidate.editing">
<div class="row">
<div class="col-xs-12 col-lg-8 pr-0">
<div class="col-xs-12 col-lg-7 pr-0">
<span *ngIf="candidate.title" [innerHtml]="candidate.title | markdown" class="mr-2"></span>
<span *ngIf="!candidate.title" class="mr-2">Untitled candidate</span>

Expand All @@ -14,7 +14,7 @@
<li class="list-inline-item" *ngIf="voteExists() && !expired" role="button" (click)="deleteVote()" tooltip="Clear vote">clear vote</li>
</ul>
</div>
<div class="col-xs-12 col-lg-4 pl-0 edits text-right">
<div class="col-xs-12 col-lg-5 pl-0 edits text-right">
<span *ngIf="voteExists() && questionType == 1">Your Vote: {{vote / 10}} | </span>
<span *ngIf="voteExists() && questionType >= 2">Your Vote: {{vote / 10}} | </span>
<span *ngIf="candidate?.meetsThreshold && (questionType == 1 || questionType == 3)" role="button">Score:
Expand Down

0 comments on commit 017d86a

Please sign in to comment.