Compare commits

...

2 Commits

Author SHA1 Message Date
9ad670ab5e App: Disable user-select 2025-01-27 20:30:33 +01:00
b95a5109e0 Lib: Disable draggable images 2025-01-27 20:30:27 +01:00
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,6 @@
<!-- Prefetch data specified in "load" functions on link hover --> <!-- Prefetch data specified in "load" functions on link hover -->
<body data-theme="formula11Theme" data-sveltekit-preload-data="hover"> <body data-theme="formula11Theme" data-sveltekit-preload-data="hover">
<!-- SvelteKit inserts the body contents here --> <!-- SvelteKit inserts the body contents here -->
<div style="display: contents">%sveltekit.body%</div> <div style="display: contents; user-select: none">%sveltekit.body%</div>
</body> </body>
</html> </html>

View File

@ -57,6 +57,7 @@
use:img_opacity_handler use:img_opacity_handler
class="bg-surface-100 transition-opacity" class="bg-surface-100 transition-opacity"
style="opacity: 0; transition-duration: 300ms; {imgstyle ?? ''}" style="opacity: 0; transition-duration: 300ms; {imgstyle ?? ''}"
draggable="false"
{...restProps} {...restProps}
/> />
{/await} {/await}