This commit is contained in:
Oliver Davies 2018-12-19 20:58:47 +00:00
parent 0ef3d87f38
commit e69824ff75

View file

@ -19,9 +19,7 @@
<a <a
v-for="item in items" v-for="item in items"
class="block text-black focus:text-white focus:no-underline focus-within:bg-blue p-4 border-l-3 sm:border-l-0 sm:border-b-3 border-transparent hover:border-grey-light sm:ml-4 sm:mr-0 sm:p-0 hover:no-underline" class="block text-black focus:text-white focus:no-underline focus-within:bg-blue p-4 border-l-3 sm:border-l-0 sm:border-b-3 border-transparent hover:border-grey-light sm:ml-4 sm:mr-0 sm:p-0 hover:no-underline"
:class="{ :class="{'border-blue hover:border-blue': isActive(item)}"
'border-blue hover:border-blue': isActive(item),
}"
:href="item.href" :href="item.href"
> >
<span class="flex items-center h-full">{{ item.title }}</span> <span class="flex items-center h-full">{{ item.title }}</span>