File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111.DS_Store
1212ailog.txt
1313dist /gitkeep.txt
14+ tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change 274274 </script >
275275
276276{#snippet InsideInput ()}
277- <div class =" absolute right-[0.25rem] top-[6px] flex" >
277+ <div class =" absolute right-1 top-1.5 flex" >
278278 {#if counter .total }
279279 <div class =" flex text-gray-300 ml-4 self-center whitespace-nowrap" >
280280 {counter .current } of {counter .total }
322322{/ snippet }
323323
324324<div
325- class =" selector-colors fixed top-[2px] left-1/2 -translate-x-1/2 z-20 px-1 py-1 bg-white text-sm max-w-4/5 shadow-lg border border-gray-300 dark:border-gray-700"
325+ class =" selector-colors fixed top-0.5 left-1/2 -translate-x-1/2 z-20 px-1 py-1 bg-white text-sm max-w-4/5 shadow-lg border border-gray-300 dark:border-gray-700"
326326 use:trapfocus
327327>
328328 <div class =" flex flex-row" >
361361 @reference "tailwindcss" ;
362362
363363 input {
364- @apply bg-white px-2 py-1 border-1 border-gray-200 dark :border-gray-600 outline-1 outline-gray-200 dark:outline-gray-600;
364+ @apply bg-white px-2 py-1 border border-gray-200 dark :border-gray-600 outline-1 outline-gray-200 dark:outline-gray-600;
365365 }
366366
367367 button {
368- @apply px-[6px] py-[2px] hover :bg-gray-200 dark:hover:bg-gray-500 dark:bg-gray-900 border-0;
368+ @apply px-1 .5 py-0 .5 hover :bg-gray-200 dark:hover:bg-gray-500 dark:bg-gray-900 border-0;
369369 }
370370 </style >
Original file line number Diff line number Diff line change 130130<form
131131 onkeydown ={onKeydown }
132132 tabindex =" -1"
133- class =" selector absolute flex flex-col z-20 center-x-with-translate top-[2rem] max-h-[90vh] w-[32em] p-2"
133+ class =" selector absolute flex flex-col z-20 center-x-with-translate top-8 max-h-[90vh] w-[32em] p-2"
134134>
135135 <div >
136136 <div class =" flex" >
147147 bind:value ={filter }
148148 class =" py-1 px-2 bg-white w-full mb-2 rounded-xs relative"
149149 />
150- <div class =" absolute right-[1rem] top-[2.6rem] italic text-gray-400" >
150+ <div class =" absolute right-4 top-[2.6rem] italic text-gray-400" >
151151 {itemsCountMsg }
152152 </div >
153153 </div >
161161 {#snippet renderItem (item )}
162162 {@const hili = hilightText (item .name , hiliRegExp )}
163163 <button
164- class =" ml-[-6px] cursor-pointer hover:text-yellow-600"
164+ class =" - ml-1.5 cursor-pointer hover:text-yellow-600"
165165 onclick ={(ev ) => {
166166 toggleStarred (item );
167167 ev .preventDefault ();
Original file line number Diff line number Diff line change 4949 listboxRef ?.onkeydown (ev , filter === " " );
5050 }}
5151 tabindex =" -1"
52- class =" selector z-20 absolute center-x-with-translate top-[2rem] max-h-[94vh] flex flex-col p-2"
52+ class =" selector z-20 absolute center-x-with-translate top-8 max-h-[94vh] flex flex-col p-2"
5353>
54- <input use:focus type ="text" bind:value ={filter } class =" py-1 px-2 bg-white w-full min-w-[400px] mb-2 rounded-xs" />
54+ <input use:focus type ="text" bind:value ={filter } class =" py-1 px-2 bg-white w-full min-w-100 mb-2 rounded-xs" />
5555 <ListBox bind:this ={listboxRef } items ={itemsFiltered } onclick ={(item ) => selectLanguage (item .token )}>
5656 {#snippet renderItem (item )}
5757 {@const hili = hilightText (item .name , hiliRegExp )}
Original file line number Diff line number Diff line change 190190
191191<!-- svelte-ignore a11y_click_events_have_key_events -->
192192<div
193- class =" overflow-y-auto cursor-pointer flex flex-wrap gap-y-[2px] pb-4"
193+ class =" overflow-y-auto cursor-pointer flex flex-wrap gap-y-0.5 pb-4"
194194 tabindex =" -1"
195195 role =" listbox"
196196 bind:this ={listboxRef }
Original file line number Diff line number Diff line change 6262 role =" dialog"
6363 tabindex =" 0"
6464 {onkeydown }
65- class =" selector z-20 absolute center-x-with-translate top-[4rem] flex flex-col max-w-full p-3"
65+ class =" selector z-20 absolute center-x-with-translate top-16 flex flex-col max-w-full p-3"
6666>
6767 <div class =" flex" >
6868 <div class =" text-lg font-semibold grow" >
Original file line number Diff line number Diff line change 7272 {/if }
7373 </div >
7474 <div class =" text-gray-400" >•</div >
75- <div class ="doc-size px-[6px] " title ="Note Size: {docSize } bytes" >
75+ <div class ="doc-size px-1.5 " title ="Note Size: {docSize } bytes" >
7676 {formatSize }
7777 </div >
7878
Original file line number Diff line number Diff line change 9696 </script >
9797
9898{#if len (toasts ) > 0 }
99- <div class ="toast-wrap fixed top-10 right-[19px] text-sm" {style }>
99+ <div class ="toast-wrap fixed top-10 right-4.75 text-sm" {style }>
100100 {#each toasts as t }
101101 <div
102102 class ="flex justify-between items-center mb-4 border rounded-md py-2 pl-4 pr-2 min-w-[14ch] {bgClass (t .type )}"
You can’t perform that action at this time.
0 commit comments