Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: clean up #3503

Merged
merged 2 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions assets/auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ declare global {
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
const onClickOutside: typeof import('@vueuse/core')['onClickOutside']
const onDeactivated: typeof import('vue')['onDeactivated']
const onElementRemoval: typeof import('@vueuse/core')['onElementRemoval']
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke']
const onLongPress: typeof import('@vueuse/core')['onLongPress']
Expand Down Expand Up @@ -475,6 +476,7 @@ declare module 'vue' {
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
readonly onClickOutside: UnwrapRef<typeof import('@vueuse/core')['onClickOutside']>
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
readonly onElementRemoval: UnwrapRef<typeof import('@vueuse/core')['onElementRemoval']>
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
readonly onKeyStroke: UnwrapRef<typeof import('@vueuse/core')['onKeyStroke']>
readonly onLongPress: UnwrapRef<typeof import('@vueuse/core')['onLongPress']>
Expand Down
10 changes: 2 additions & 8 deletions assets/components/LogViewer/ComplexLogItem.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<LogItem :logEntry @click="showDrawer(LogDetails, { entry: logEntry })" class="clickable">
<ul class="fields space-x-4">
<li v-for="(value, name) in validValues" :key="name">
<ul class="space-x-4">
<li v-for="(value, name) in validValues" :key="name" class="inline-flex">
<span class="text-light">{{ name }}=</span><span class="font-bold" v-if="value === null">&lt;null&gt;</span>
<template v-else-if="Array.isArray(value)">
<span class="font-bold" v-html="JSON.stringify(value)"> </span>
Expand Down Expand Up @@ -33,10 +33,4 @@ const showDrawer = useDrawer();
.text-light {
@apply text-base-content/70;
}

.fields {
li {
@apply inline-flex;
}
}
</style>
4 changes: 0 additions & 4 deletions assets/components/LogViewer/LogList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ useIntersectionObserver(
&:last-child {
scroll-margin-block-end: 5rem;
}
.jump-context {
@apply mr-2 flex items-center font-sans text-secondary;
}
}
&.small {
Expand Down
2 changes: 1 addition & 1 deletion assets/components/common/CarouselItem.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="w-full min-w-full flex-shrink-0 snap-start snap-always">
<div class="w-full min-w-full shrink-0 snap-start snap-always">
<slot />
</div>
</template>
Expand Down
16 changes: 0 additions & 16 deletions assets/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,4 @@ watchEffect(() => {
padding-top: 1em;
padding-bottom: 1em;
}
.stat > div {
@apply text-center;
}
.stat-value {
@apply font-light;
}
.stat-title {
@apply font-light;
}
.section + .section {
padding-top: 0;
}
</style>
2 changes: 1 addition & 1 deletion assets/pages/login.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="card w-96 flex-shrink-0 bg-base-lighter shadow-2xl">
<div class="card w-96 shrink-0 bg-base-lighter shadow-2xl">
<div class="card-body">
<form action="" method="post" @submit.prevent="onLogin" ref="form" class="flex flex-col gap-8">
<label class="form-control w-full">
Expand Down
Loading