Skip to content

Commit cef408e

Browse files
committed
fix: session token svg ratio to properly size in the SessionIcon component
1 parent d209f07 commit cef408e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ts/components/icon/Icons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ export const icons: Record<SessionIconType, IconProps> = {
459459
sessionToken: {
460460
path: 'M18.3374 12.3497L21.4083 9.2788C22.4571 8.23007 23.0222 6.83526 22.9993 5.35161C22.9771 3.90621 22.3818 2.55397 21.3232 1.54287C20.2819 0.547808 18.9136 0 17.4719 0H5.52871C4.08701 0 2.71873 0.547808 1.67678 1.54225C0.617566 2.55335 0.0222569 3.90621 0.000665405 5.351C-0.021543 6.83464 0.543538 8.22945 1.59227 9.2788L4.65024 12.3343L1.59165 15.3929C0.542921 16.441 -0.0221599 17.8358 0.000665405 19.3201C0.0228738 20.7655 0.618183 22.1177 1.67678 23.1288C2.71873 24.1233 4.08701 24.6711 5.52871 24.6711H11.48V24.676H17.4515C18.8932 24.676 20.2615 24.1282 21.3035 23.1338C22.3627 22.1227 22.958 20.7704 22.9796 19.325C23.0024 17.8414 22.4367 16.4466 21.388 15.3972L18.3374 12.3491V12.3497ZM3.41027 7.45956C2.85753 6.90682 2.56019 6.17209 2.57191 5.38986C2.59535 3.83589 3.92168 2.57124 5.52871 2.57124H17.4719C19.0789 2.57124 20.4053 3.83589 20.4287 5.38986C20.4404 6.17209 20.1431 6.90682 19.5903 7.45956L16.5182 10.5317L15.5318 9.54592C14.4195 8.43488 12.9605 7.87659 11.5003 7.87103C11.4966 7.87103 11.4935 7.87103 11.4898 7.87103C11.4867 7.87103 11.483 7.87103 11.48 7.87103C10.0173 7.87597 8.55523 8.43488 7.44172 9.54839L6.47442 10.5157L6.47195 10.5132L6.46887 10.5163L3.41027 7.46018V7.45956ZM8.29119 12.33L8.29366 12.3325L9.26034 11.3658C9.87539 10.7507 10.6823 10.4429 11.4898 10.441C12.2955 10.4441 13.1005 10.752 13.7144 11.3645L14.7002 12.3497L13.7403 13.3096C13.1234 13.9265 12.3134 14.235 11.5028 14.235C10.6928 14.235 9.8828 13.9265 9.26589 13.3109L8.28749 12.3337L8.29058 12.3306L8.29119 12.33ZM17.4515 22.1042H11.5003V22.0992H5.52871C3.92168 22.0992 2.59535 20.8346 2.57191 19.2806C2.56019 18.4984 2.85753 17.7637 3.41027 17.2109L6.46948 14.1517L7.44851 15.1301C8.56633 16.2473 10.0346 16.8056 11.5028 16.8056C12.971 16.8056 14.4411 16.2467 15.5589 15.1283L16.5194 14.1677L19.57 17.2158C20.1227 17.7686 20.4201 18.5033 20.4084 19.2855C20.3849 20.8395 19.0586 22.1042 17.4515 22.1042Z',
461461
viewBox: '0 0 23 25',
462-
ratio: 23 / 25,
462+
ratio: 1,
463463
},
464464
sessionTokenLogoWithText: {
465465
path: 'M274.05 11.4h28.61v1.95h-13.2v23.48h-2.2V13.35h-13.2v-1.96h-.01ZM35.53 24.1l5.86-5.87a10.3 10.3 0 0 0-.16-14.77A10.6 10.6 0 0 0 33.87.5h-22.8A10.6 10.6 0 0 0 3.7 3.46a10.31 10.31 0 0 0-.16 14.78l5.84 5.83-5.84 5.84a10.3 10.3 0 0 0 .16 14.78 10.6 10.6 0 0 0 7.36 2.94h11.36v.01h11.4a10.6 10.6 0 0 0 7.36-2.94 10.3 10.3 0 0 0 .16-14.78l-5.82-5.82Zm-28.5-9.34a5.43 5.43 0 0 1-1.6-3.95 5.58 5.58 0 0 1 5.64-5.39h22.8a5.6 5.6 0 0 1 5.65 5.39 5.45 5.45 0 0 1-1.6 3.95l-5.87 5.87-1.88-1.89a10.92 10.92 0 0 0-7.7-3.2h-.04a10.9 10.9 0 0 0-7.7 3.2l-1.86 1.86-5.85-5.84Zm9.31 9.3 1.85-1.84a6.02 6.02 0 0 1 8.5 0l1.9 1.88-1.84 1.83a6.02 6.02 0 0 1-8.55 0l-1.86-1.86Zm17.5 18.67H11.07a5.58 5.58 0 0 1-5.65-5.4 5.47 5.47 0 0 1 1.6-3.95l5.84-5.84 1.87 1.87a10.92 10.92 0 0 0 7.75 3.2c2.8 0 5.6-1.07 7.74-3.2l1.84-1.84 5.82 5.82a5.43 5.43 0 0 1 1.6 3.96 5.58 5.58 0 0 1-5.64 5.38ZM302.62 24.1c0-8.11 6.22-13.4 16.1-13.4 9.87 0 16.1 5.32 16.1 13.4 0 8.06-6.23 13.45-16.1 13.45-9.88 0-16.1-5.32-16.1-13.46Zm16.1 11.5c8.64 0 13.81-4.78 13.81-11.5 0-6.73-5.13-11.44-13.81-11.44-8.69 0-13.82 4.7-13.82 11.43 0 6.73 5.17 11.5 13.82 11.5Zm20.07-24.2h2.2v16.35l22.14-16.35h3.44l-14.18 10.52 14.18 14.9h-2.83L350.68 23.2l-9.69 7.2v6.44h-2.2V11.4Zm32.06 0h24.27v1.84h-22.06v9.98h21.34V25h-21.34v9.98h22.06v1.84h-24.27V11.4Zm28.88 0h3.22l23.73 23.44V11.4h2.2v25.43h-3.21l-23.73-23.44v23.44h-2.2V11.4Zm-344.97 17h6.55c0 3.11 2.68 4.54 9.48 4.54 6.25 0 8.3-.96 8.3-3.29 0-2.32-1.61-2.79-8.63-3.21l-1.35-.11c-9.91-.57-13.77-2.79-13.77-8.09 0-5.29 5.22-7.5 14.09-7.5 9.83 0 14.91 2.96 15.16 8.76h-6.58c0-3.11-3-4.11-8.84-4.11-5.47 0-7.25.89-7.25 2.85 0 2.3 1.64 2.86 8.12 3.3l1.46.1c8.9.68 14.16 1.5 14.16 7.8s-5.54 8.15-14.73 8.15c-10.3 0-15.95-2.36-16.16-9.19Zm35.09-17.02h25.5v4.83H96.16v5.68h18.45v4.43H96.17v5.72h19.17v4.83h-25.5V11.38Zm29.39 17.02h6.54c0 3.11 2.68 4.54 9.48 4.54 6.26 0 8.3-.96 8.3-3.29 0-2.32-1.6-2.79-8.62-3.21l-1.36-.11c-9.9-.57-13.77-2.79-13.77-8.09 0-5.29 5.22-7.5 14.1-7.5 9.83 0 14.9 2.96 15.16 8.76h-6.58c0-3.11-3-4.11-8.84-4.11-5.47 0-7.26.89-7.26 2.85 0 2.3 1.64 2.86 8.12 3.3l1.47.1c8.9.68 14.16 1.5 14.16 7.8s-5.54 8.15-14.74 8.15c-10.3 0-15.95-2.36-16.16-9.19Zm34.37 0h6.54c0 3.11 2.68 4.54 9.48 4.54 6.26 0 8.3-.96 8.3-3.29 0-2.32-1.61-2.79-8.62-3.21l-1.36-.11c-9.9-.57-13.77-2.79-13.77-8.09 0-5.29 5.22-7.5 14.1-7.5 9.83 0 14.9 2.96 15.15 8.76h-6.57c0-3.11-3-4.11-8.84-4.11-5.47 0-7.26.89-7.26 2.85 0 2.3 1.64 2.86 8.12 3.3l1.47.1c8.9.68 14.16 1.5 14.16 7.8s-5.54 8.15-14.74 8.15c-10.3 0-15.95-2.36-16.16-9.19Zm34.72-17.02h6.33v25.5h-6.33v-25.5Zm10.34 12.73c0-8.08 6.76-13.37 17.27-13.37s17.34 5.29 17.34 13.37c0 8.09-6.76 13.48-17.34 13.48s-17.27-5.29-17.27-13.48Zm17.27 8.12c6.65 0 10.77-3.29 10.77-8.12 0-4.83-4.12-8-10.77-8-6.66 0-10.7 3.2-10.7 8s4.12 8.12 10.7 8.12Zm20.46-20.85h9.33l16.6 19.67V11.38h6.33v25.5h-9.37L242.73 17.2v19.67h-6.33v-25.5Z',

0 commit comments

Comments
 (0)