File tree Expand file tree Collapse file tree 3 files changed +41
-37
lines changed
Expand file tree Collapse file tree 3 files changed +41
-37
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ Dates should be in`YYYY-MM-DD` format and versions are in [semantic versioning](
55
66## v0.7.21
77
8+ ### Fixed
9+
10+ - Don't include emoji or controls in links in text selection.
11+
812### Maintenance
913
1014- Updated Supabase, Svelte.
Original file line number Diff line number Diff line change 7474 white-space : nowrap ;
7575 display : inline-flex ;
7676 align-items : center ;
77+ user-select : none ;
7778 }
7879
7980 button .chromeless {
Original file line number Diff line number Diff line change 3636 let inactive = $derived (to === page .url .pathname );
3737 </script >
3838
39- <span class =" link" >
40- <a
41- class ={kind }
42- class:inactive
43- class:bland
44- class:wrap
45- {title }
46- class:kinded ={kind !== null }
47- class:external
48- href ={inactive ? null : to }
49- target ={external ? ' _blank' : ' ' }
50- >
51- {#if icon || kind }
52- <span class =" emoji" >
53- {#if icon }
54- {icon }
55- {:else if kind === ' person' }
56- {PersonSymbol }
57- {:else if kind === ' role' }
58- {RoleSymbol }
59- {:else if kind === ' process' }
60- {ProcessSymbol }
61- {:else if kind === ' org' }
62- {OrganizationSymbol }
63- {:else if kind === ' change' }
64- {ChangeSymbol }
65- {:else if kind === ' team' }
66- {TeamSymbol }
67- {/if }
68- </span >
69- {/if }
70- <span class =" label" >
71- {@render children ()}
39+ <a
40+ class ={kind }
41+ class:inactive
42+ class:bland
43+ class:wrap
44+ {title }
45+ class:kinded ={kind !== null }
46+ class:external
47+ href ={inactive ? null : to }
48+ target ={external ? ' _blank' : ' ' }
49+ >
50+ {#if icon || kind }
51+ <span class =" emoji" >
52+ {#if icon }
53+ {icon }
54+ {:else if kind === ' person' }
55+ {PersonSymbol }
56+ {:else if kind === ' role' }
57+ {RoleSymbol }
58+ {:else if kind === ' process' }
59+ {ProcessSymbol }
60+ {:else if kind === ' org' }
61+ {OrganizationSymbol }
62+ {:else if kind === ' change' }
63+ {ChangeSymbol }
64+ {:else if kind === ' team' }
65+ {TeamSymbol }
66+ {/if }
7267 </span >
73- </a >
74- {@render action ?.()}
75- </span >
68+ {/if }
69+ <span class =" label" >
70+ {@render children ()}
71+ </span >
72+ </a >
73+ {@render action ?.()}
7674
7775<style >
7876 .link {
188186 }
189187
190188 .emoji {
191- display : flex ;
189+ display : inline- flex ;
192190 height : 1em ;
193191 width : 1em ;
194192 border-radius : 50% ;
198196 font-size : 60% ;
199197 box-shadow : var (--border ) 1px 1px ;
200198 color : var (--background );
199+ user-select : none ;
201200 }
202201 </style >
You can’t perform that action at this time.
0 commit comments