2022-06-15 04:59:43 +00:00
|
|
|
<!--
|
|
|
|
// Copyright © 2022 Hardcore Engineering Inc.
|
|
|
|
//
|
|
|
|
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License. You may
|
|
|
|
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
//
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
-->
|
|
|
|
<script lang="ts">
|
2023-02-08 06:42:26 +00:00
|
|
|
import contact, { Employee } from '@hcengineering/contact'
|
2023-02-08 15:37:50 +00:00
|
|
|
import { Class, Doc, DocumentQuery, generateId, IdMap, Lookup, Ref, toIdMap, WithLookup } from '@hcengineering/core'
|
2022-09-21 08:08:25 +00:00
|
|
|
import { Kanban, TypeState } from '@hcengineering/kanban'
|
|
|
|
import notification from '@hcengineering/notification'
|
2023-01-14 10:54:54 +00:00
|
|
|
import { getResource } from '@hcengineering/platform'
|
|
|
|
import { createQuery, getClient } from '@hcengineering/presentation'
|
2022-09-21 08:08:25 +00:00
|
|
|
import tags from '@hcengineering/tags'
|
2023-02-08 06:42:26 +00:00
|
|
|
import { Issue, IssuesGrouping, IssuesOrdering, IssueStatus, Project, Sprint, Team } from '@hcengineering/tracker'
|
2022-08-05 07:48:31 +00:00
|
|
|
import {
|
|
|
|
Button,
|
|
|
|
Component,
|
|
|
|
getEventPositionElement,
|
2023-02-08 06:42:26 +00:00
|
|
|
Icon,
|
2022-08-05 07:48:31 +00:00
|
|
|
IconAdd,
|
|
|
|
Loading,
|
|
|
|
showPanel,
|
|
|
|
showPopup,
|
|
|
|
tooltip
|
2022-09-21 08:08:25 +00:00
|
|
|
} from '@hcengineering/ui'
|
2023-02-08 06:42:26 +00:00
|
|
|
import { CategoryOption, ViewOptionModel, ViewOptions, ViewQueryOption } from '@hcengineering/view'
|
2023-01-14 10:54:54 +00:00
|
|
|
import {
|
|
|
|
focusStore,
|
|
|
|
ListSelectionProvider,
|
|
|
|
noCategory,
|
|
|
|
SelectDirection,
|
2023-01-18 05:14:59 +00:00
|
|
|
selectionStore
|
2023-01-14 10:54:54 +00:00
|
|
|
} from '@hcengineering/view-resources'
|
2022-09-21 08:08:25 +00:00
|
|
|
import ActionContext from '@hcengineering/view-resources/src/components/ActionContext.svelte'
|
|
|
|
import Menu from '@hcengineering/view-resources/src/components/Menu.svelte'
|
2023-02-08 06:42:26 +00:00
|
|
|
import { getCategories } from '@hcengineering/view-resources/src/utils'
|
2022-06-15 04:59:43 +00:00
|
|
|
import { onMount } from 'svelte'
|
|
|
|
import tracker from '../../plugin'
|
2023-02-08 06:42:26 +00:00
|
|
|
import { issuesGroupBySorting, mapKanbanCategories } from '../../utils'
|
2022-06-15 04:59:43 +00:00
|
|
|
import CreateIssue from '../CreateIssue.svelte'
|
2022-06-16 04:24:17 +00:00
|
|
|
import ProjectEditor from '../projects/ProjectEditor.svelte'
|
2022-06-15 04:59:43 +00:00
|
|
|
import AssigneePresenter from './AssigneePresenter.svelte'
|
2022-06-16 04:24:17 +00:00
|
|
|
import SubIssuesSelector from './edit/SubIssuesSelector.svelte'
|
2022-06-15 04:59:43 +00:00
|
|
|
import IssuePresenter from './IssuePresenter.svelte'
|
2022-08-05 07:48:31 +00:00
|
|
|
import IssueStatusIcon from './IssueStatusIcon.svelte'
|
2022-06-27 06:04:26 +00:00
|
|
|
import ParentNamesPresenter from './ParentNamesPresenter.svelte'
|
2022-06-15 04:59:43 +00:00
|
|
|
import PriorityEditor from './PriorityEditor.svelte'
|
2022-07-04 18:14:53 +00:00
|
|
|
import StatusEditor from './StatusEditor.svelte'
|
2022-10-11 11:50:56 +00:00
|
|
|
import EstimationEditor from './timereport/EstimationEditor.svelte'
|
2022-06-15 04:59:43 +00:00
|
|
|
|
2023-01-14 10:54:54 +00:00
|
|
|
export let space: Ref<Team> | undefined = undefined
|
2022-06-15 04:59:43 +00:00
|
|
|
export let baseMenuClass: Ref<Class<Doc>> | undefined = undefined
|
2022-06-23 11:09:18 +00:00
|
|
|
export let query: DocumentQuery<Issue> = {}
|
2023-01-18 05:14:59 +00:00
|
|
|
export let viewOptionsConfig: ViewOptionModel[] | undefined
|
|
|
|
export let viewOptions: ViewOptions
|
2022-06-15 04:59:43 +00:00
|
|
|
|
2023-01-14 10:54:54 +00:00
|
|
|
$: currentSpace = space || tracker.team.DefaultTeam
|
2023-01-25 13:45:50 +00:00
|
|
|
$: groupBy = (viewOptions.groupBy[0] ?? noCategory) as IssuesGrouping
|
2023-01-18 05:14:59 +00:00
|
|
|
$: orderBy = viewOptions.orderBy
|
2023-01-14 10:54:54 +00:00
|
|
|
$: sort = { [orderBy[0]]: orderBy[1] }
|
|
|
|
$: dontUpdateRank = orderBy[0] !== IssuesOrdering.Manual
|
2022-06-15 04:59:43 +00:00
|
|
|
|
2022-06-16 04:24:17 +00:00
|
|
|
const spaceQuery = createQuery()
|
|
|
|
|
|
|
|
let currentTeam: Team | undefined
|
|
|
|
$: spaceQuery.query(tracker.class.Team, { _id: currentSpace }, (res) => {
|
|
|
|
currentTeam = res.shift()
|
|
|
|
})
|
|
|
|
|
2023-01-14 10:54:54 +00:00
|
|
|
let resultQuery: DocumentQuery<any> = query
|
2023-01-18 05:14:59 +00:00
|
|
|
$: getResultQuery(query, viewOptionsConfig, viewOptions).then((p) => (resultQuery = p))
|
2023-01-14 10:54:54 +00:00
|
|
|
|
|
|
|
const client = getClient()
|
|
|
|
const hierarchy = client.getHierarchy()
|
|
|
|
|
|
|
|
async function getResultQuery (
|
|
|
|
query: DocumentQuery<Issue>,
|
|
|
|
viewOptions: ViewOptionModel[] | undefined,
|
|
|
|
viewOptionsStore: ViewOptions
|
|
|
|
): Promise<DocumentQuery<Issue>> {
|
|
|
|
if (viewOptions === undefined) return query
|
|
|
|
let result = hierarchy.clone(query)
|
|
|
|
for (const viewOption of viewOptions) {
|
|
|
|
if (viewOption.actionTartget !== 'query') continue
|
|
|
|
const queryOption = viewOption as ViewQueryOption
|
|
|
|
const f = await getResource(queryOption.action)
|
|
|
|
result = f(viewOptionsStore[queryOption.key] ?? queryOption.defaultValue, query)
|
|
|
|
}
|
|
|
|
return result
|
|
|
|
}
|
|
|
|
|
2022-06-15 04:59:43 +00:00
|
|
|
function toIssue (object: any): WithLookup<Issue> {
|
|
|
|
return object as WithLookup<Issue>
|
|
|
|
}
|
|
|
|
|
2022-06-28 06:53:39 +00:00
|
|
|
const lookup: Lookup<Issue> = {
|
|
|
|
assignee: contact.class.Employee,
|
|
|
|
space: tracker.class.Team,
|
|
|
|
_id: {
|
|
|
|
subIssues: tracker.class.Issue
|
2022-06-15 04:59:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
let kanbanUI: Kanban
|
|
|
|
const listProvider = new ListSelectionProvider((offset: 1 | -1 | 0, of?: Doc, dir?: SelectDirection) => {
|
|
|
|
kanbanUI.select(offset, of, dir)
|
|
|
|
})
|
|
|
|
onMount(() => {
|
|
|
|
;(document.activeElement as HTMLElement)?.blur()
|
|
|
|
})
|
|
|
|
|
|
|
|
const showMenu = async (ev: MouseEvent, items: Doc[]): Promise<void> => {
|
|
|
|
ev.preventDefault()
|
2022-08-05 07:48:31 +00:00
|
|
|
showPopup(Menu, { object: items, baseMenuClass }, getEventPositionElement(ev), () => {
|
|
|
|
// selection = undefined
|
|
|
|
})
|
2022-06-15 04:59:43 +00:00
|
|
|
}
|
2022-07-06 06:11:32 +00:00
|
|
|
const issuesQuery = createQuery()
|
2023-02-08 06:42:26 +00:00
|
|
|
let issues: Issue[] = []
|
2023-01-14 10:54:54 +00:00
|
|
|
const lookupIssue: Lookup<Issue> = {
|
2023-02-08 06:42:26 +00:00
|
|
|
status: tracker.class.IssueStatus,
|
2023-01-14 10:54:54 +00:00
|
|
|
project: tracker.class.Project,
|
|
|
|
sprint: tracker.class.Sprint,
|
|
|
|
assignee: contact.class.Employee
|
|
|
|
}
|
2022-07-06 06:11:32 +00:00
|
|
|
$: issuesQuery.query(
|
|
|
|
tracker.class.Issue,
|
|
|
|
resultQuery,
|
2023-02-08 06:42:26 +00:00
|
|
|
(result) => {
|
|
|
|
issues = result
|
2022-07-06 06:11:32 +00:00
|
|
|
},
|
|
|
|
{
|
2023-01-14 10:54:54 +00:00
|
|
|
lookup: lookupIssue,
|
2022-07-06 06:11:32 +00:00
|
|
|
sort: issuesGroupBySorting[groupBy]
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
2023-02-08 06:42:26 +00:00
|
|
|
const assigneeQuery = createQuery()
|
|
|
|
let assignee: Employee[] = []
|
|
|
|
$: assigneeQuery.query(contact.class.Employee, {}, (result) => {
|
|
|
|
assignee = result
|
2022-07-06 06:11:32 +00:00
|
|
|
})
|
2023-02-08 06:42:26 +00:00
|
|
|
|
|
|
|
const statusesQuery = createQuery()
|
|
|
|
let statuses: WithLookup<IssueStatus>[] = []
|
|
|
|
let statusesMap: IdMap<IssueStatus> = new Map()
|
|
|
|
$: statusesQuery.query(
|
|
|
|
tracker.class.IssueStatus,
|
|
|
|
{
|
|
|
|
space: currentSpace
|
|
|
|
},
|
|
|
|
(result) => {
|
|
|
|
statuses = result
|
|
|
|
statusesMap = toIdMap(result)
|
|
|
|
},
|
|
|
|
{
|
|
|
|
lookup: { category: tracker.class.IssueStatusCategory }
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
const projectsQuery = createQuery()
|
|
|
|
let projects: Project[] = []
|
|
|
|
$: projectsQuery.query(
|
|
|
|
tracker.class.Project,
|
|
|
|
{
|
|
|
|
space: currentSpace
|
|
|
|
},
|
|
|
|
(result) => {
|
|
|
|
projects = result
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
const sprintsQuery = createQuery()
|
|
|
|
let sprints: Sprint[] = []
|
|
|
|
$: sprintsQuery.query(
|
|
|
|
tracker.class.Sprint,
|
|
|
|
{
|
|
|
|
space: currentSpace
|
|
|
|
},
|
|
|
|
(result) => {
|
|
|
|
sprints = result
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
let states: TypeState[]
|
|
|
|
|
2023-02-08 15:37:50 +00:00
|
|
|
const queryId = generateId()
|
|
|
|
|
2023-02-08 06:42:26 +00:00
|
|
|
$: updateCategories(
|
|
|
|
tracker.class.Issue,
|
|
|
|
issues,
|
|
|
|
groupBy,
|
|
|
|
viewOptions,
|
|
|
|
viewOptionsConfig,
|
|
|
|
statuses,
|
|
|
|
projects,
|
|
|
|
sprints,
|
|
|
|
assignee
|
|
|
|
)
|
|
|
|
|
2023-02-08 15:37:50 +00:00
|
|
|
function update () {
|
|
|
|
updateCategories(
|
|
|
|
tracker.class.Issue,
|
|
|
|
issues,
|
|
|
|
groupBy,
|
|
|
|
viewOptions,
|
|
|
|
viewOptionsConfig,
|
|
|
|
statuses,
|
|
|
|
projects,
|
|
|
|
sprints,
|
|
|
|
assignee
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2023-02-08 06:42:26 +00:00
|
|
|
async function updateCategories (
|
|
|
|
_class: Ref<Class<Doc>>,
|
|
|
|
docs: Doc[],
|
|
|
|
groupByKey: string,
|
|
|
|
viewOptions: ViewOptions,
|
|
|
|
viewOptionsModel: ViewOptionModel[] | undefined,
|
|
|
|
statuses: WithLookup<IssueStatus>[],
|
|
|
|
projects: Project[],
|
|
|
|
sprints: Sprint[],
|
|
|
|
assignee: Employee[]
|
2022-07-06 06:11:32 +00:00
|
|
|
) {
|
2023-02-08 06:42:26 +00:00
|
|
|
let categories = await getCategories(client, _class, docs, groupByKey)
|
|
|
|
for (const viewOption of viewOptionsModel ?? []) {
|
|
|
|
if (viewOption.actionTartget !== 'category') continue
|
|
|
|
const categoryFunc = viewOption as CategoryOption
|
|
|
|
if (viewOptions[viewOption.key] ?? viewOption.defaultValue) {
|
|
|
|
const f = await getResource(categoryFunc.action)
|
2023-02-08 15:37:50 +00:00
|
|
|
const res = await f(_class, space, groupByKey, update, queryId)
|
2023-02-08 06:42:26 +00:00
|
|
|
if (res !== undefined) {
|
|
|
|
for (const category of categories) {
|
|
|
|
if (!res.includes(category)) {
|
|
|
|
res.push(category)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
categories = res
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const indexes = new Map(categories.map((p, i) => [p, i]))
|
|
|
|
const res = await mapKanbanCategories(groupByKey, categories, statuses, projects, sprints, assignee)
|
|
|
|
res.sort((a, b) => {
|
|
|
|
const aIndex = indexes.get(a._id ?? undefined) ?? -1
|
|
|
|
const bIndex = indexes.get(b._id ?? undefined) ?? -1
|
|
|
|
return aIndex - bIndex
|
|
|
|
})
|
|
|
|
states = res
|
2022-07-06 06:11:32 +00:00
|
|
|
}
|
2022-07-07 02:21:30 +00:00
|
|
|
|
|
|
|
const fullFilled: { [key: string]: boolean } = {}
|
2022-06-15 04:59:43 +00:00
|
|
|
</script>
|
|
|
|
|
2022-07-06 06:11:32 +00:00
|
|
|
{#if !states?.length}
|
|
|
|
<Loading />
|
|
|
|
{:else}
|
2022-06-15 04:59:43 +00:00
|
|
|
<ActionContext
|
|
|
|
context={{
|
|
|
|
mode: 'browser'
|
|
|
|
}}
|
|
|
|
/>
|
2023-01-18 05:14:59 +00:00
|
|
|
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
2022-06-15 04:59:43 +00:00
|
|
|
<Kanban
|
|
|
|
bind:this={kanbanUI}
|
|
|
|
_class={tracker.class.Issue}
|
|
|
|
{states}
|
2023-01-14 10:54:54 +00:00
|
|
|
{dontUpdateRank}
|
2022-06-28 06:53:39 +00:00
|
|
|
options={{ sort, lookup }}
|
2022-06-15 04:59:43 +00:00
|
|
|
query={resultQuery}
|
|
|
|
fieldName={groupBy}
|
|
|
|
on:content={(evt) => {
|
|
|
|
listProvider.update(evt.detail)
|
|
|
|
}}
|
|
|
|
on:obj-focus={(evt) => {
|
|
|
|
listProvider.updateFocus(evt.detail)
|
|
|
|
}}
|
|
|
|
selection={listProvider.current($focusStore)}
|
|
|
|
checked={$selectionStore ?? []}
|
|
|
|
on:check={(evt) => {
|
|
|
|
listProvider.updateSelection(evt.detail.docs, evt.detail.value)
|
|
|
|
}}
|
|
|
|
on:contextmenu={(evt) => showMenu(evt.detail.evt, evt.detail.objects)}
|
|
|
|
>
|
|
|
|
<svelte:fragment slot="header" let:state let:count>
|
2023-02-08 06:42:26 +00:00
|
|
|
{@const status = statusesMap.get(state._id)}
|
2022-06-15 04:59:43 +00:00
|
|
|
<div class="header flex-col">
|
|
|
|
<div class="flex-between label font-medium w-full h-full">
|
|
|
|
<div class="flex-row-center gap-2">
|
2023-02-08 06:42:26 +00:00
|
|
|
{#if state.icon}
|
|
|
|
{#if groupBy === 'status' && status}
|
|
|
|
<IssueStatusIcon value={status} size="small" />
|
|
|
|
{:else}
|
|
|
|
<Icon icon={state.icon} size="small" />
|
|
|
|
{/if}
|
|
|
|
{/if}
|
2022-06-15 04:59:43 +00:00
|
|
|
<span class="lines-limit-2 ml-2">{state.title}</span>
|
|
|
|
<span class="counter ml-2 text-md">{count}</span>
|
|
|
|
</div>
|
2023-01-14 10:54:54 +00:00
|
|
|
<div class="flex gap-1">
|
|
|
|
<Button
|
|
|
|
icon={IconAdd}
|
|
|
|
kind={'transparent'}
|
|
|
|
showTooltip={{ label: tracker.string.AddIssueTooltip, direction: 'left' }}
|
|
|
|
on:click={() => {
|
|
|
|
showPopup(CreateIssue, { space: currentSpace, [groupBy]: state._id }, 'top')
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
</div>
|
2022-06-15 04:59:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</svelte:fragment>
|
|
|
|
<svelte:fragment slot="card" let:object>
|
|
|
|
{@const issue = toIssue(object)}
|
2022-07-07 02:21:30 +00:00
|
|
|
{@const issueId = object._id}
|
2022-06-16 04:24:17 +00:00
|
|
|
<div
|
|
|
|
class="tracker-card"
|
|
|
|
on:click={() => {
|
|
|
|
showPanel(tracker.component.EditIssue, object._id, object._class, 'content')
|
|
|
|
}}
|
|
|
|
>
|
2022-07-07 02:21:30 +00:00
|
|
|
<div class="flex-col ml-4 mr-8">
|
2022-06-27 06:04:26 +00:00
|
|
|
<div class="flex clear-mins names">
|
|
|
|
<IssuePresenter value={issue} />
|
|
|
|
<ParentNamesPresenter value={issue} />
|
|
|
|
</div>
|
2022-07-05 10:01:40 +00:00
|
|
|
<div class="flex-row-center gap-1 mt-1">
|
2022-07-04 18:14:53 +00:00
|
|
|
{#if groupBy !== 'status'}
|
2022-07-05 10:01:40 +00:00
|
|
|
<StatusEditor value={issue} kind="list" isEditable={false} />
|
2022-07-04 18:14:53 +00:00
|
|
|
{/if}
|
2022-07-05 10:01:40 +00:00
|
|
|
<span class="fs-bold caption-color lines-limit-2">
|
2022-07-04 18:14:53 +00:00
|
|
|
{object.title}
|
|
|
|
</span>
|
|
|
|
</div>
|
2022-06-15 04:59:43 +00:00
|
|
|
</div>
|
|
|
|
<div class="abs-rt-content">
|
|
|
|
<AssigneePresenter
|
2022-06-16 04:24:17 +00:00
|
|
|
value={issue.$lookup?.assignee}
|
|
|
|
defaultClass={contact.class.Employee}
|
2023-01-14 10:54:54 +00:00
|
|
|
object={issue}
|
2022-06-15 04:59:43 +00:00
|
|
|
isEditable={true}
|
|
|
|
/>
|
2022-06-16 04:24:17 +00:00
|
|
|
<div class="flex-center mt-2">
|
|
|
|
<Component is={notification.component.NotificationPresenter} props={{ value: object }} />
|
|
|
|
</div>
|
2022-06-15 04:59:43 +00:00
|
|
|
</div>
|
2022-07-07 02:21:30 +00:00
|
|
|
<div class="buttons-group xsmall-gap states-bar">
|
2023-01-14 10:54:54 +00:00
|
|
|
{#if issue && issue.subIssues > 0}
|
|
|
|
<SubIssuesSelector value={issue} {currentTeam} />
|
2022-06-16 04:24:17 +00:00
|
|
|
{/if}
|
2022-06-17 08:28:31 +00:00
|
|
|
<PriorityEditor value={issue} isEditable={true} kind={'link-bordered'} size={'inline'} justify={'center'} />
|
2022-06-16 04:24:17 +00:00
|
|
|
<ProjectEditor
|
|
|
|
value={issue}
|
|
|
|
isEditable={true}
|
|
|
|
kind={'link-bordered'}
|
|
|
|
size={'inline'}
|
|
|
|
justify={'center'}
|
|
|
|
width={''}
|
2022-07-07 02:21:30 +00:00
|
|
|
bind:onlyIcon={fullFilled[issueId]}
|
2022-06-16 04:24:17 +00:00
|
|
|
/>
|
2023-02-09 16:50:30 +00:00
|
|
|
<EstimationEditor kind={'list'} size={'small'} value={issue} {currentTeam} />
|
2022-07-07 02:21:30 +00:00
|
|
|
<div
|
|
|
|
class="clear-mins"
|
|
|
|
use:tooltip={{
|
|
|
|
component: fullFilled[issueId] ? tags.component.LabelsPresenter : undefined,
|
|
|
|
props: { object: issue, kind: 'full' }
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<Component
|
|
|
|
is={tags.component.LabelsPresenter}
|
|
|
|
props={{ object: issue, ckeckFilled: fullFilled[issueId] }}
|
|
|
|
on:change={(res) => {
|
|
|
|
if (res.detail.full) fullFilled[issueId] = true
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
</div>
|
2022-06-15 04:59:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</svelte:fragment>
|
|
|
|
</Kanban>
|
2022-07-06 06:11:32 +00:00
|
|
|
{/if}
|
2022-06-15 04:59:43 +00:00
|
|
|
|
|
|
|
<style lang="scss">
|
2022-06-27 06:04:26 +00:00
|
|
|
.names {
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
}
|
|
|
|
|
2022-06-15 04:59:43 +00:00
|
|
|
.header {
|
|
|
|
padding-bottom: 0.75rem;
|
|
|
|
border-bottom: 1px solid var(--divider-color);
|
|
|
|
|
|
|
|
.label {
|
|
|
|
color: var(--caption-color);
|
|
|
|
.counter {
|
|
|
|
color: rgba(var(--caption-color), 0.8);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tracker-card {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2022-07-07 02:21:30 +00:00
|
|
|
// padding: 0.5rem 1rem;
|
2022-06-15 04:59:43 +00:00
|
|
|
min-height: 6.5rem;
|
|
|
|
}
|
2022-07-07 02:21:30 +00:00
|
|
|
.states-bar {
|
|
|
|
flex-shrink: 10;
|
|
|
|
width: fit-content;
|
|
|
|
margin: 0.625rem 1rem 0;
|
|
|
|
}
|
2022-06-15 04:59:43 +00:00
|
|
|
</style>
|