Fix eslint

This commit is contained in:
Sidharth Vinod
2021-05-24 00:15:00 +05:30
parent 46ec921090
commit 626060cbdb
8 changed files with 20 additions and 17 deletions
+8
View File
@@ -1,3 +1,11 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
.nav-btn {
@apply lg:p-2 py-3 px-0 block border-b-2 border-transparent hover:border-white;
}
.btn {
@apply bg-indigo-500 hover:bg-indigo-700 rounded px-4 shadow;
}
-1
View File
@@ -1,6 +1,5 @@
<script lang="ts">
import type { Tab } from '$lib/types';
import { slide } from 'svelte/transition';
import Tabs from './tabs.svelte';
export let isCloseable = true;
+1 -7
View File
@@ -13,7 +13,7 @@
import moment from 'moment';
import type { State, Tab } from '$lib/types';
const HISTORY_SAVE_INTERVAL: number = 60000;
const HISTORY_SAVE_INTERVAL = 60000;
const tabSelectHandler = (message: CustomEvent<Tab>) => {
autoHistoryMode.set('timeline' === message.detail.id);
@@ -111,9 +111,3 @@
{/if}
</ul>
</Card>
<style lang="postcss">
.btn {
@apply bg-indigo-500 hover:bg-indigo-700 rounded px-4 shadow;
}
</style>
+1 -4
View File
@@ -70,11 +70,8 @@
</div>
</header>
<style lang="postcss">
<style>
#menu-toggle:checked + #menu {
display: block;
}
.nav-btn {
@apply lg:p-2 py-3 px-0 block border-b-2 border-transparent hover:border-white;
}
</style>
-3
View File
@@ -5,6 +5,3 @@
<main class="h-screen">
<slot />
</main>
<style>
</style>