Anki/ts/editor/HandleSelection.svelte
2021-09-06 21:15:37 +10:00

18 lines
351 B
Svelte

<!--
Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<div>
<slot />
</div>
<style lang="scss">
div {
position: absolute;
left: var(--left, 0);
top: var(--top, 0);
width: var(--width);
height: var(--height);
}
</style>