Skip to content

Commit

Permalink
changes done
Browse files Browse the repository at this point in the history
  • Loading branch information
devansh-webkul committed Jun 23, 2023
1 parent 109495a commit b9a84f0
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 141 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@props(['position' => 'left'])

<v-tabs
<v-tabs
position="{{ $position }}"
{{ $attributes }}
>
Expand All @@ -10,12 +10,12 @@
@pushOnce('scripts')
<script type="text/x-template" id="v-tabs-template">
<div>
<div
{{ $attributes->merge(['class' => 'flex bg-[#F5F5F5] pt-[18px] gap-[30px] justify-center mt-20 max-1180:hidden']) }}
<div
class="flex bg-[#F5F5F5] pt-[18px] gap-[30px] justify-center max-1180:hidden"
:style="positionStyles"
>
<div
v-for="tab in tabs"
v-for="tab in tabs"
class="text-[20px] font-medium text-[#7D7D7D] pb-[18px] px-[30px] cursor-pointer"
:class="{'text-black border-navyBlue border-b-[2px]': tab.isActive }"
v-text="tab.title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<v-tab-item
title="{{ $title }}"
is-selected="{{ $isSelected }}"
{{ $attributes->merge(['class' => 'p-5 max-1180:px-[20px]']) }}
>
<template v-slot>
{{ $slot }}
Expand All @@ -14,8 +15,7 @@

@pushOnce('scripts')
<script type="text/x-template" id="v-tab-item-template">
<div
{{ $attributes->merge(['class' => 'p-5 max-1180:px-[20px]']) }}
<div
v-if="isActive"
>
<slot></slot>
Expand Down Expand Up @@ -44,4 +44,4 @@
}
});
</script>
@endPushOnce
@endPushOnce
Loading

0 comments on commit b9a84f0

Please sign in to comment.