Browse Source

Fix icons on ios

main
Steve Ruiz 3 years ago
parent
commit
55b27b9e1f

+ 8
- 1
packages/tldraw/src/components/Primitives/icons/RedoIcon.tsx View File

@@ -2,7 +2,14 @@ import * as React from 'react'
2 2
 
3 3
 export function RedoIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element {
4 4
   return (
5
-    <svg viewBox="0 0 15 15" fill="currentColor" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+    <svg
6
+      width={32}
7
+      height={32}
8
+      viewBox="0 0 15 15"
9
+      fill="currentColor"
10
+      xmlns="http://www.w3.org/2000/svg"
11
+      {...props}
12
+    >
6 13
       <path d="M4.32978 8.5081C4.32978 10.1923 5.70009 11.5625 7.38418 11.5625H8.46539C8.64456 11.5625 8.78975 11.4173 8.78975 11.2382V11.13C8.78975 10.9508 8.64457 10.8057 8.46539 10.8057H7.38418C6.11736 10.8057 5.08662 9.77492 5.08662 8.5081C5.08662 7.24128 6.11736 6.21054 7.38418 6.21054H9.37894L8.00515 7.58433C7.8576 7.73183 7.8576 7.97195 8.00515 8.11944C8.14833 8.26251 8.39751 8.2623 8.54036 8.11944L10.56 6.09971C10.6315 6.02824 10.6709 5.93321 10.6709 5.8321C10.6709 5.73106 10.6315 5.63598 10.56 5.56454L8.54025 3.54472C8.3974 3.40176 8.14801 3.40176 8.00513 3.54472C7.85758 3.69218 7.85758 3.93234 8.00513 4.07979L9.37892 5.45368H7.38418C5.70009 5.45368 4.32978 6.82393 4.32978 8.5081Z" />
7 14
     </svg>
8 15
   )

+ 8
- 1
packages/tldraw/src/components/Primitives/icons/UndoIcon.tsx View File

@@ -2,7 +2,14 @@ import * as React from 'react'
2 2
 
3 3
 export function UndoIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element {
4 4
   return (
5
-    <svg viewBox="0 0 15 15" fill="currentColor" xmlns="http://www.w3.org/2000/svg" {...props}>
5
+    <svg
6
+      width={32}
7
+      height={32}
8
+      viewBox="0 0 15 15"
9
+      fill="currentColor"
10
+      xmlns="http://www.w3.org/2000/svg"
11
+      {...props}
12
+    >
6 13
       <path d="M10.6707 8.5081C10.6707 10.1923 9.3004 11.5625 7.61631 11.5625H6.5351C6.35593 11.5625 6.21074 11.4173 6.21074 11.2382V11.13C6.21074 10.9508 6.35591 10.8057 6.5351 10.8057H7.61631C8.88313 10.8057 9.91387 9.77492 9.91387 8.5081C9.91387 7.24128 8.88313 6.21054 7.61631 6.21054H5.62155L6.99534 7.58433C7.14289 7.73183 7.14289 7.97195 6.99534 8.11944C6.85216 8.26251 6.60298 8.2623 6.46013 8.11944L4.44045 6.09971C4.36898 6.02824 4.32959 5.93321 4.32959 5.8321C4.32959 5.73106 4.36898 5.63598 4.44045 5.56454L6.46024 3.54472C6.60309 3.40176 6.85248 3.40176 6.99535 3.54472C7.14291 3.69218 7.14291 3.93234 6.99535 4.07979L5.62156 5.45368H7.61631C9.3004 5.45368 10.6707 6.82393 10.6707 8.5081Z" />
7 14
     </svg>
8 15
   )

Loading…
Cancel
Save