Skip to content

Commit

Permalink
#23 - lintf
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofrewak committed Sep 20, 2023
1 parent 4e96a9e commit 92bce05
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
7 changes: 4 additions & 3 deletions resources/js/Components/BackgroundGrid.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script setup>
import { computed } from 'vue'
defineProps({
maskDirection: {
type: String,
Expand All @@ -10,7 +8,10 @@ defineProps({
</script>

<template>
<svg class="absolute inset-0 -z-10 h-full w-full stroke-gray-200" :class="'[mask-image:radial-gradient(100%_100%_at_top_' + maskDirection + ',white,transparent)]'" aria-hidden="true">
<svg class="absolute inset-0 -z-10 h-full w-full stroke-gray-200"
:class="'[mask-image:radial-gradient(100%_100%_at_top_' + maskDirection + ',white,transparent)]'"
aria-hidden="true"
>
<defs>
<pattern id="83fd4e5a-9d52-42fc-97b6-718e5d7ee527" width="200" height="200" x="50%" y="-1"
patternUnits="userSpaceOnUse"
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Shared/Components/Table/TableWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const slots = useSlots()
<div class="mt-8 flow-root">
<div class="-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
<div class="inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8">
<div class="overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg">
<div class="ring-opacity/5 overflow-hidden shadow ring-1 ring-black sm:rounded-lg">
<table class="min-w-full divide-y divide-gray-300">
<thead v-if="slots.header" class="bg-gray-50">
<TableRow>
Expand Down
10 changes: 4 additions & 6 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ module.exports = {
plugins: [
require('@tailwindcss/forms'),
],
purge: {
safelist: [
'[mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]',
'[mask-image:radial-gradient(100%_100%_at_top_left,white,transparent)]',
],
}
safelist: [
'[mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]',
'[mask-image:radial-gradient(100%_100%_at_top_left,white,transparent)]',
],
}

0 comments on commit 92bce05

Please sign in to comment.