Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions resources/js/components/entries/PublishForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,16 @@

<div v-if="collectionHasRoutes" :class="{ 'hi': !shouldShowSidebar }">

<div class="p-3 flex items-center space-x-2 rtl:space-x-reverse" v-if="showLivePreviewButton || showVisitUrlButton">
<div class="p-3 flex flex-wrap items-center gap-2 rtl:space-x-reverse" v-if="showLivePreviewButton || showVisitUrlButton">
<button
class="flex items-center justify-center btn w-full"
class="flex flex-1 items-center justify-center btn px-2"
v-if="showLivePreviewButton"
@click="openLivePreview">
<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 w-full"
class="flex flex-1 items-center justify-center btn px-2"
v-if="showVisitUrlButton"
:href="permalink"
target="_blank">
Expand Down
6 changes: 3 additions & 3 deletions resources/js/components/terms/PublishForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,16 @@

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

<div class="p-3 flex items-center space-x-2" v-if="showLivePreviewButton || showVisitUrlButton">
<div class="p-3 flex flex-wrap items-center gap-2" v-if="showLivePreviewButton || showVisitUrlButton">
<button
class="flex items-center justify-center btn w-full"
class="flex flex-1 items-center justify-center btn px-2"
v-if="showLivePreviewButton"
@click="openLivePreview">
<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 w-full"
class="flex flex-1 items-center justify-center btn px-2"
v-if="showVisitUrlButton"
:href="permalink"
target="_blank">
Expand Down