Styling
This commit is contained in:
1 parent
f9a44b3b70
commit
a2149f9a43
6 files changed
+32
-12
No files matched your search
@@ -1,9 +1,8 @@
|
||||
import { Component, For, from } from 'solid-js';
|
||||
import { Component, For } from 'solid-js';
|
||||
import { peekCachedSignal } from '../../workers/cached-signals';
|
||||
import Tree from '../tree';
|
||||
import TrkIcon from '../../icons/human-footprints-svgrepo-com.svg?component-solid';
|
||||
import { TrksegViewer } from '../trkseg';
|
||||
import { findAddress } from '../../lib/osm';
|
||||
|
||||
interface Props {
|
||||
trkId: string;
|
||||
@@ -21,14 +20,15 @@ const TrkViewer: Component<Props> = ({ trkId, restrictToHierarchy }) => {
|
||||
<Tree
|
||||
title={
|
||||
<>
|
||||
<TrkIcon width='24' height='24' /> {title()}
|
||||
<div>
|
||||
<span>
|
||||
<TrkIcon fill='white' width='24' height='24' /> {title()}
|
||||
</span>
|
||||
</div>
|
||||
<div>x</div>
|
||||
</>
|
||||
}
|
||||
content={
|
||||
<div>
|
||||
|
||||
</div>
|
||||
}
|
||||
content={<div></div>}
|
||||
subTree={
|
||||
<For
|
||||
each={Object.keys(restrictToHierarchy).filter((key: string) =>
|
||||
|
||||
Reference in new issue
Block a user