diff --git a/packages/ui/src/components/Scroller.svelte b/packages/ui/src/components/Scroller.svelte index 0d2b3b654d..a015231e11 100644 --- a/packages/ui/src/components/Scroller.svelte +++ b/packages/ui/src/components/Scroller.svelte @@ -22,7 +22,6 @@ import IconUpOutline from './icons/UpOutline.svelte' import IconDownOutline from './icons/DownOutline.svelte' import HalfUpDown from './icons/HalfUpDown.svelte' - import { isSafari } from '../utils' export let padding: string | undefined = undefined export let autoscroll: boolean = false @@ -375,7 +374,6 @@ } else if (deltaY > 0 && autoscroll && !scrolling && belowContent && belowContent <= 10) { scrolling = true } - scrollY += deltaY } let observer: IntersectionObserver @@ -452,7 +450,6 @@ (orientir === 'horizontal' && (maskH === 'left' || maskH === 'both')) ? 'visible' : 'hidden' - let scrollY: number = 0 @@ -478,22 +475,6 @@ style:overflow-x={horizontal ? 'auto' : 'hidden'} on:scroll={(evt) => { if ($tooltipstore.label !== undefined) closeTooltip() - const newPos = divScroll?.scrollTop ?? 0 - - // TODO: Workaround: https://front.hc.engineering/workbench/platform/tracker/TSK-760 - // In Safari scroll could jump on click, with no particular reason. - - if ( - !scrolling && - !isScrolling && - scrollY !== 0 && - Math.abs(newPos - scrollY) > 100 && - divScroll !== undefined && - isSafari() - ) { - divScroll.scrollTop = scrollY - } - scrollY = divScroll?.scrollTop ?? 0 }} >
- - - - - + + diff --git a/plugins/notification-assets/assets/icons.svg b/plugins/notification-assets/assets/icons.svg index adb3873dc8..987607d698 100644 --- a/plugins/notification-assets/assets/icons.svg +++ b/plugins/notification-assets/assets/icons.svg @@ -3,9 +3,7 @@ - - - + diff --git a/plugins/workbench-resources/src/components/App.svelte b/plugins/workbench-resources/src/components/App.svelte deleted file mode 100644 index 594965107b..0000000000 --- a/plugins/workbench-resources/src/components/App.svelte +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - diff --git a/plugins/workbench-resources/src/components/AppItem.svelte b/plugins/workbench-resources/src/components/AppItem.svelte index e562ed772e..f0f5a9d87f 100644 --- a/plugins/workbench-resources/src/components/AppItem.svelte +++ b/plugins/workbench-resources/src/components/AppItem.svelte @@ -77,8 +77,7 @@ } &.selected { - background-color: var(--theme-button-enabled); - border: 1px solid var(--theme-button-border); + background-color: var(--theme-button-pressed); .icon-container { color: var(--theme-caption-color); } diff --git a/plugins/workbench-resources/src/components/Applications.svelte b/plugins/workbench-resources/src/components/Applications.svelte index 3934a7c7c1..39efbca0f2 100644 --- a/plugins/workbench-resources/src/components/Applications.svelte +++ b/plugins/workbench-resources/src/components/Applications.svelte @@ -19,7 +19,7 @@ import { NavLink } from '@hcengineering/view-resources' import type { Application } from '@hcengineering/workbench' import workbench from '@hcengineering/workbench' - import App from './App.svelte' + import AppItem from './AppItem.svelte' export let active: Ref | undefined export let apps: Application[] = [] @@ -46,7 +46,7 @@ > {#each apps.filter((it) => !hiddenAppsIds.includes(it._id)) as app} - + {/each}