Skip to content

Commit

Permalink
Fix tailwind broken design
Browse files Browse the repository at this point in the history
  • Loading branch information
Aunshon committed Nov 21, 2023
1 parent 3a3f69c commit 7e5be99
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/admin/components/Postbox.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div :class="['postbox', 'dokan-postbox', { 'closed': !showing }, extraClass]">
<div class="postbox-header">
<h2 class="hndle font-semibold"><span>{{ title }}</span></h2>
<h2 class="hndle font-bold"><span>{{ title }}</span></h2>
<div class="handle-actions hide-if-no-js">
<button type="button" class="handlediv" aria-expanded="false" @click="showing = !showing">
<span class="toggle-indicator" aria-hidden="true"></span>
Expand Down
10 changes: 6 additions & 4 deletions src/admin/components/ProCta.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
<template>
<div class="cta-section" v-bind:style="{ 'background-image': 'url(' + styles.bgPattern + '), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)' }">
<div class="feature-thumb">
<div class="feature-thumb flex justify-center items-center">
<img :src="thumbnail" alt="Dokan Lite">
</div>
<div class="content-area">
<h2>{{ __( 'Convinced?', 'dokan-lite' ) }}</h2>
<p>{{ __( 'With all the advance features you get it’s hard to resist buying Dokan Pro.', 'dokan-lite' ) }}</p>
<a :href="url" class="btn" target="_blank">
{{ __( 'Upgrade to Pro', 'dokan-lite' ) }}
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 17.5 12.5" style="enable-background:new 0 0 17.5 12.5;" xml:space="preserve">
<p class='flex !m-0'>
{{ __( 'Upgrade to Pro', 'dokan-lite' ) }}
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 17.5 12.5" style="enable-background:new 0 0 17.5 12.5;" xml:space="preserve">
<path class="st0" d="M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7
l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z
M10.6,1.5"/>
</svg>
</p>
</a>
</div>
</div>
Expand Down
12 changes: 7 additions & 5 deletions src/admin/pages/Premium.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<div class="vendor-capabilities-banner" :style="bannerBg">
<img :src="bannerImage" :alt="__( 'Dokan Vendor Capabilities Banner', 'dokan-lite' )">
<div class="content">
<p class="title">{{ __( 'Vendor Capabilities', 'dokan-lite' ) }}</p>
<p>
<p class="title pb-4">{{ __( 'Vendor Capabilities', 'dokan-lite' ) }}</p>
<p class='pb-3'>
{{ __( 'One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.', 'dokan-lite' ) }}
</p>
<router-link class="button" :to="{ name: 'VendorCapabilities' }">
Expand All @@ -44,13 +44,15 @@
</div>

<a href="https://dokan.co/wordpress/features/" class="btn" target="_blank">
{{ __( 'And Many More', 'dokan-lite' ) }}
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
<p class='flex'>
{{ __( 'And Many More', 'dokan-lite' ) }}
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 17.5 12.5" style="enable-background:new 0 0 17.5 12.5;" xml:space="preserve">
<path class="st0" d="M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7
l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z
M10.6,1.5"/>
</svg>
</p>
</a>
</div>
<!-- End of Service Section -->
Expand Down Expand Up @@ -187,7 +189,7 @@
<div class="guarantee-detail">
<h2>{{ __( '14 Days Money Back Guarantee', 'dokan-lite' ) }}</h2>
<p>{{ __( 'After successful purchase, you will be eligible for conditional refund', 'dokan-lite' ) }}</p>
<a :href="payment.termsPolicyUrl" target="_blank"><img :src="payment.viewIcon" alt="Dokan"> {{ __( 'Terms & Condition Applied', 'dokan-lite' ) }}</a>
<a class='flex items-center' :href="payment.termsPolicyUrl" target="_blank"><img class='h-[11px]' :src="payment.viewIcon" alt="Dokan"> {{ __( 'Terms & Condition Applied', 'dokan-lite' ) }}</a>
</div>
</div>
<div class="payment-area">
Expand Down

0 comments on commit 7e5be99

Please sign in to comment.