mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +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>
|
||||
|
||||
<style lang="scss">
|
||||
.create-item {
|
||||
position: absolute;
|
||||
left: 105%;
|
||||
top: 0px;
|
||||
}
|
||||
</style>
|
||||
|
@ -14,12 +14,12 @@
|
||||
-->
|
||||
|
||||
<script lang="ts">
|
||||
import { ScrollBox, IconAdd } from '@anticrm/ui'
|
||||
import { ScrollBox } from '@anticrm/ui'
|
||||
|
||||
export let label: string
|
||||
export let color: string
|
||||
// export let counter: number
|
||||
export let addAction: () => void | undefined
|
||||
// export let addAction: () => void | undefined
|
||||
</script>
|
||||
|
||||
<div class="panel-container step-lr75">
|
||||
@ -30,9 +30,9 @@
|
||||
<span class="lines-limit-2">{label}</span>
|
||||
<!-- <span>({counter})</span> -->
|
||||
</div>
|
||||
<div class="tool ml-3" on:click|preventDefault={addAction}>
|
||||
<!-- <div class="tool ml-3" on:click|preventDefault={addAction}>
|
||||
<IconAdd size={'small'} />
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="scroll" on:dragover on:drop>
|
||||
@ -75,11 +75,11 @@
|
||||
// color: var(--theme-content-dark-color);
|
||||
// }
|
||||
}
|
||||
.tool {
|
||||
opacity: .4;
|
||||
cursor: pointer;
|
||||
&:hover { opacity: 1; }
|
||||
}
|
||||
// .tool {
|
||||
// opacity: .4;
|
||||
// cursor: pointer;
|
||||
// &:hover { opacity: 1; }
|
||||
// }
|
||||
}
|
||||
|
||||
.scroll {
|
||||
|
@ -182,7 +182,7 @@
|
||||
<ScrollBox>
|
||||
<div class="kanban-content">
|
||||
{#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) => {
|
||||
event.preventDefault()
|
||||
if (dragCard.state !== state._id) {
|
||||
|
Loading…
Reference in New Issue
Block a user