forked from eatvio/eatvio-infra
added own style for upvote
This commit is contained in:
@@ -18,9 +18,8 @@
|
||||
<input @class(['star-rating__input', 'hidden' => $isChecked]) wire:model="isChecked" wire:click="$set('grade',1)" type="radio"
|
||||
name="rate" id="rate-1" value="1" hidden>
|
||||
<label class="star-rating__label" for="rate-1"></label>
|
||||
<input wire:model="isChecked" wire:click="$set('grade',0)" type="radio" name="rate" id="rate-0" value="1" hidden>
|
||||
</div>
|
||||
<button wire:click.prevent="save" type="button" class="btn btn-primary">Оставь отзыв</button>
|
||||
<button wire:click="save" type="button" class="btn btn-primary">Оставь отзыв</button>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="d-flex align-items-center ms-3 ms-sm-0 mt-sm-4">
|
||||
<div style="margin-left:20px;">
|
||||
<button wire:click.stop.prevent="downvote" @class(["pt-1", 'text-red-400' => $isDownVoted])>
|
||||
<svg width="20" height="18" @class(["me-1", "down-vote-filter" => $isDownVoted])><use xlink:href="#DislikeIcon"></use></svg>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user