Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Fix styling of "Live Preview" and "Visit URL" buttons on terms publish form #10237

Merged
merged 1 commit into from
May 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions resources/js/components/terms/PublishForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,20 +112,20 @@

<div :class="{ 'hi': !shouldShowSidebar }">

<div class="p-4 flex items-center -mx-2" v-if="showLivePreviewButton || showVisitUrlButton">
<div class="p-3 flex items-center space-x-2" v-if="showLivePreviewButton || showVisitUrlButton">
<button
class="flex items-center justify-center btn-flat w-full mx-2 px-2"
class="flex items-center justify-center btn w-full"
v-if="showLivePreviewButton"
@click="openLivePreview">
<svg-icon name="light/synchronize" class="h-4 w-4 rtl:ml-2 ltr:mr-2" />
<svg-icon name="light/synchronize" class="h-4 w-4 rtl:ml-2 ltr:mr-2 shrink-0" />
<span>{{ __('Live Preview') }}</span>
</button>
<a
class="flex items-center justify-center btn-flat w-full mx-2 px-2"
class="flex items-center justify-center btn w-full"
v-if="showVisitUrlButton"
:href="permalink"
target="_blank">
<svg-icon name="light/external-link" class="w-4 h-4 rtl:ml-2 ltr:mr-2" />
<svg-icon name="light/external-link" class="w-4 h-4 rtl:ml-2 ltr:mr-2 shrink-0" />
<span>{{ __('Visit URL') }}</span>
</a>
</div>
Expand Down
Loading