Skip to content

Commit

Permalink
Update photo buttons margins (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguilimzero authored Sep 15, 2020
1 parent e3eca22 commit 9dd74e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
</span>
</div>

<jet-secondary-button class="mt-2" type="button" @click.native.prevent="selectNewPhoto">
<jet-secondary-button class="mt-2 mr-2" type="button" @click.native.prevent="selectNewPhoto">
Select A New Photo
</jet-secondary-button>

<jet-secondary-button type="button" class="ml-2" @click.native.prevent="deletePhoto" v-if="$page.user.profile_photo_path">
<jet-secondary-button type="button" class="mt-2" @click.native.prevent="deletePhoto" v-if="$page.user.profile_photo_path">
Remove Photo
</jet-secondary-button>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
</span>
</div>

<x-jet-secondary-button class="mt-2" type="button" x-on:click.prevent="$refs.photo.click()">
<x-jet-secondary-button class="mt-2 mr-2" type="button" x-on:click.prevent="$refs.photo.click()">
{{ __('Select A New Photo') }}
</x-jet-secondary-button>

@if ($this->user->profile_photo_path)
<x-jet-secondary-button type="button" class="ml-2" wire:click="deleteProfilePhoto">
<x-jet-secondary-button type="button" class="mt-2" wire:click="deleteProfilePhoto">
{{ __('Remove Photo') }}
</x-jet-secondary-button>
@endif
Expand Down

0 comments on commit 9dd74e7

Please sign in to comment.