mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-04 14:53:44 +00:00
Hide plus in Kanban (#1026)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
parent
b330455836
commit
2fd7e3a94f
@ -114,11 +114,3 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
.create-item {
|
|
||||||
position: absolute;
|
|
||||||
left: 105%;
|
|
||||||
top: 0px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { ScrollBox, IconAdd } from '@anticrm/ui'
|
import { ScrollBox } from '@anticrm/ui'
|
||||||
|
|
||||||
export let label: string
|
export let label: string
|
||||||
export let color: string
|
export let color: string
|
||||||
// export let counter: number
|
// export let counter: number
|
||||||
export let addAction: () => void | undefined
|
// export let addAction: () => void | undefined
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="panel-container step-lr75">
|
<div class="panel-container step-lr75">
|
||||||
@ -30,9 +30,9 @@
|
|||||||
<span class="lines-limit-2">{label}</span>
|
<span class="lines-limit-2">{label}</span>
|
||||||
<!-- <span>({counter})</span> -->
|
<!-- <span>({counter})</span> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="tool ml-3" on:click|preventDefault={addAction}>
|
<!-- <div class="tool ml-3" on:click|preventDefault={addAction}>
|
||||||
<IconAdd size={'small'} />
|
<IconAdd size={'small'} />
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="scroll" on:dragover on:drop>
|
<div class="scroll" on:dragover on:drop>
|
||||||
@ -75,11 +75,11 @@
|
|||||||
// color: var(--theme-content-dark-color);
|
// color: var(--theme-content-dark-color);
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
.tool {
|
// .tool {
|
||||||
opacity: .4;
|
// opacity: .4;
|
||||||
cursor: pointer;
|
// cursor: pointer;
|
||||||
&:hover { opacity: 1; }
|
// &:hover { opacity: 1; }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
.scroll {
|
.scroll {
|
||||||
|
@ -182,7 +182,7 @@
|
|||||||
<ScrollBox>
|
<ScrollBox>
|
||||||
<div class="kanban-content">
|
<div class="kanban-content">
|
||||||
{#each states as state (state)}
|
{#each states as state (state)}
|
||||||
<KanbanPanel label={state.title} color={getPlatformColor(state.color)} addAction={() => {}}
|
<KanbanPanel label={state.title} color={getPlatformColor(state.color)}
|
||||||
on:dragover={(event) => {
|
on:dragover={(event) => {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
if (dragCard.state !== state._id) {
|
if (dragCard.state !== state._id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user