mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-18 13:12:16 +01:00
add support for archiving projects and marking tasks as done
This commit is contained in:
@@ -8,7 +8,7 @@ const props = defineProps<{
|
||||
|
||||
const activeClass = computed(() => {
|
||||
if (props.active) {
|
||||
return 'bg-tab-background hover:bg-tab-background-active border border-tab-border text-white font-semibold';
|
||||
return 'bg-tab-background border border-tab-border text-white font-semibold';
|
||||
}
|
||||
return '';
|
||||
});
|
||||
@@ -16,9 +16,10 @@ const activeClass = computed(() => {
|
||||
|
||||
<template>
|
||||
<button
|
||||
role="tab"
|
||||
:class="
|
||||
twMerge(
|
||||
'rounded-md transition px-2 sm:px-3 py-1 sm:py-1.5 text-xs sm:text-sm font-medium hover:text-white focus-visible:outline-none',
|
||||
'rounded-md px-2 sm:px-3 py-1 sm:py-1.5 text-xs sm:text-sm font-medium hover:text-white focus-visible:outline-none',
|
||||
activeClass
|
||||
)
|
||||
">
|
||||
|
||||
Reference in New Issue
Block a user