Browse Source

item entries now show weight instead of useless icon.

main
Gisle Aune 4 years ago
parent
commit
fdeef21e59
  1. 2
      svelte-ui/src/components/ChildEntry.svelte
  2. 9
      svelte-ui/src/components/ItemEntry.svelte

2
svelte-ui/src/components/ChildEntry.svelte

@ -64,7 +64,7 @@
flex-direction: row;
margin: 0.25em 0 0.75em 0;
}
div.icon {
div.icon, div.child-entry div.header :global(div.icon-like) {
display: flex;
flex-direction: column;
font-size: 1em;

9
svelte-ui/src/components/ItemEntry.svelte

@ -17,9 +17,18 @@
</script>
<ChildEntry entry={item}>
<div class="icon-like" slot="icon">
{item.groupWeight}
</div>
<OptionRow>
<Option open={mdItemEdit}>Edit</Option>
<Option open={mdItemDelete}>Delete</Option>
</OptionRow>
</ChildEntry>
<style>
div.icon-like {
min-width: 1.8ch;
text-align: center;
}
</style>
Loading…
Cancel
Save