| | private function svgArrow( string $type ): string { |
| | $icons = [ |
| | - 'back' => '<path d="M15 20 L7 12 L15 4" />', |
| | - 'next' => '<path d="M9 20 L17 12 L9 4" />', |
| | - 'first' => '<path d="M13 20 L5 12 L13 4 M19 20 L11 12 L19 4" />', |
| | - 'last' => '<path d="M11 20 L19 12 L11 4 M5 20 L13 12 L5 4" />', |
| | + 'back' => '<path d="M14 17 L9 12 L14 7" />', |
| | + 'next' => '<path d="M10 17 L15 12 L10 7" />', |
| | + 'first' => '<path d="M13 17 L6 12 L13 7 M19 17 L12 12 L19 7" />', |
| | + 'last' => '<path d="M11 17 L18 12 L11 7 M5 17 L12 12 L5 7" />', |
| | ]; |
| | |
| | $inner = $icons[$type] ?? ''; |
| | - $svg = '<svg xmlns="http://www.w3.org/2000/svg" width="24" ' . |
| | - 'height="18" viewBox="0 0 18 18" fill="none" ' . |
| | - 'stroke="currentColor" stroke-width="2" ' . |
| | + $svg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" ' . |
| | + 'fill="none" stroke="currentColor" stroke-width="2" ' . |
| | 'stroke-linecap="round" stroke-linejoin="round" ' . |
| | 'aria-label="' . $type . '" role="img">' . |