File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 203203/>
204204
205205<div
206- class ={` items-center shrink-0 min-w-[156px ] justify-end ml-auto flex${
206+ class ={` items-center shrink-0 min-w-[100px] max-sm:min-w-[50px ] justify-end ml-auto flex${
207207 containerClass ? ` ${containerClass } ` : " "
208208 } ` }
209209 style ={containerStyle }
210210>
211- <div bind:this ={triggerEl } class =" inline-flex rounded-xl " >
211+ <div bind:this ={triggerEl } class =" inline-flex rounded-md max-sm:rounded-sm " >
212212 <button
213213 on:click ={copyMarkdown }
214- class =" inline-flex items-center gap-1.5 h-9 px-3 .5 text-sm font-medium text-gray-800 border border-r-0 rounded-l-xl border-gray-200 bg-white hover:shadow-inner dark:border-gray-850 dark:bg-gray-950 dark:text-gray-200 dark:hover:bg-gray-800"
214+ class =" inline-flex items-center gap-1 max-sm:gap-0 .5 h-6 max-sm:h-5 px-2 max-sm:px-1 .5 text-[11px] max-sm:text-[9px] font-medium text-gray-800 border border-r-0 rounded-l-md max-sm:rounded-l-sm border-gray-200 bg-white hover:shadow-inner dark:border-gray-850 dark:bg-gray-950 dark:text-gray-200 dark:hover:bg-gray-800"
215215 aria-live =" polite"
216216 >
217- <span class =" inline-flex items-center justify-center rounded-md p-1 " >
218- <IconCopy classNames =" w-4 h-4 " />
217+ <span class =" inline-flex items-center justify-center rounded-md p-0.5 max-sm:p-0 " >
218+ <IconCopy classNames =" w-3 h-3 max-sm:w-2.5 max-sm:h-2.5 " />
219219 </span >
220220 <span >{copied ? " Copied" : label }</span >
221221 </button >
222222 <button
223223 on:click ={toggleMenu }
224- class =" inline-flex items-center justify-center w-9 h-9 disabled:pointer-events-none text-sm text-gray-500 hover:text-gray-700 dark:hover:text-white rounded-r-xl border border-l transition border-gray-200 bg-white hover:shadow-inner dark:border-gray-850 dark:bg-gray-950 dark:text-gray-200 dark:hover:bg-gray-800"
224+ class =" inline-flex items-center justify-center w-6 max-sm:w-5 h-6 max-sm:h-5 disabled:pointer-events-none text-sm text-gray-500 hover:text-gray-700 dark:hover:text-white rounded-r-md max-sm:rounded-r-sm border border-l transition border-gray-200 bg-white hover:shadow-inner dark:border-gray-850 dark:bg-gray-950 dark:text-gray-200 dark:hover:bg-gray-800"
225225 aria-haspopup =" menu"
226226 aria-expanded ={open }
227227 aria-label ={open ? " Close copy menu" : " Open copy menu" }
228228 >
229229 <IconCaret
230- classNames ={` transition-transform text-gray-400 overflow-visible ${
230+ classNames ={` transition-transform text-gray-400 overflow-visible w-3 h-3 max-sm:w-2.5 max-sm:h-2.5 ${
231231 open ? " rotate-180" : " rotate-0"
232232 } ` }
233233 />
You can’t perform that action at this time.
0 commit comments