File tree 3 files changed +12
-5
lines changed
frontend/src/lib/components
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 35
35
<nav class =" block w-full sm:mt-3 mb-6" >
36
36
<div class =" flex flex-col items-center w-full sm:max-w-[500px] sm:mx-auto bg-background" >
37
37
<div
38
- class =" flex justify-between sm:justify-around w-full px-2 sm:px-6 py-2 sm:py-4 sm:rounded-2xl shadow-md sm:border"
38
+ class =" flex justify-between sm:justify-around w-full px-4 sm:px-6 py-2 sm:py-4 sm:rounded-2xl shadow-md sm:border"
39
39
>
40
40
<img src =" /icon-96.png" alt =" icon" class =" w-10" />
41
41
<div class =" hidden sm:block" >
51
51
</div >
52
52
<ThemeToggler className =" hidden sm:flex" />
53
53
<Button
54
- variant =" ghost "
54
+ variant =" outline "
55
55
size =" icon"
56
56
on:click ={() => (showMenu = ! showMenu )}
57
57
class =" flex sm:hidden"
58
58
>
59
59
{#if showMenu }
60
- <XIcon size = " 15 " />
60
+ <XIcon />
61
61
{:else }
62
- <MenuIcon size = " 15 " />
62
+ <MenuIcon />
63
63
{/if }
64
64
</Button >
65
65
</div >
66
66
67
- <div class =" relative w-full" >
67
+ <div class =" sm:hidden relative w-full z-[9999] " >
68
68
{#if showMenu }
69
69
<div class =" flex flex-col w-full absolute top-0 bg-background shadow-md" >
70
70
{#each links as l }
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export type InputEvents = {
18
18
mouseleave : FormInputEvent < MouseEvent > ;
19
19
paste : FormInputEvent < ClipboardEvent > ;
20
20
input : FormInputEvent < InputEvent > ;
21
+ wheel : FormInputEvent < WheelEvent > ;
21
22
} ;
22
23
23
24
export {
Original file line number Diff line number Diff line change 9
9
let className: $$Props [" class" ] = undefined ;
10
10
export let value: $$Props [" value" ] = undefined ;
11
11
export { className as class };
12
+
13
+ // Workaround for https://github.com/sveltejs/svelte/issues/9305
14
+ // Fixed in Svelte 5, but not backported to 4.x.
15
+ export let readonly: $$Props [" readonly" ] = undefined ;
12
16
</script >
13
17
14
18
<input
17
21
className
18
22
)}
19
23
bind:value
24
+ {readonly }
20
25
on:blur
21
26
on:change
22
27
on:click
31
36
on:mouseleave
32
37
on:paste
33
38
on:input
39
+ on:wheel
34
40
{...$$restProps }
35
41
/>
You can’t perform that action at this time.
0 commit comments