File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ class="max-w-none transition-transform duration-75 block select-none"
5050
5151 <div class =" absolute top-4 right-4 flex flex-col gap-2 bg-white/90 backdrop-blur-sm rounded-lg p-2 shadow-lg" >
5252 <button
53+ type =" button"
5354 @click =" zoomIn"
5455 class =" w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border border-gray-200 rounded text-gray-600 hover:text-gray-800 transition-colors"
5556 title =" Zoom In"
@@ -60,6 +61,7 @@ class="w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border
6061 </button >
6162
6263 <button
64+ type =" button"
6365 @click =" zoomOut"
6466 class =" w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border border-gray-200 rounded text-gray-600 hover:text-gray-800 transition-colors"
6567 title =" Zoom Out"
@@ -70,6 +72,7 @@ class="w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border
7072 </button >
7173
7274 <button
75+ type =" button"
7376 @click =" reset"
7477 class =" w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border border-gray-200 rounded text-gray-600 hover:text-gray-800 transition-colors"
7578 title =" Reset View"
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ class="max-w-none transition-transform duration-75 block select-none"
3030 </div >
3131
3232 <div class =" absolute top-4 right-4 flex flex-col gap-2 bg-white/90 backdrop-blur-sm rounded-lg p-2 shadow-lg" >
33- <button
33+ <button
34+ type =" button"
3435 @click =" zoomIn"
3536 class =" w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border border-gray-200 rounded text-gray-600 hover:text-gray-800 transition-colors"
3637 title =" Zoom In"
@@ -41,6 +42,7 @@ class="w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border
4142 </button >
4243
4344 <button
45+ type =" button"
4446 @click =" zoomOut"
4547 class =" w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border border-gray-200 rounded text-gray-600 hover:text-gray-800 transition-colors"
4648 title =" Zoom Out"
@@ -51,6 +53,7 @@ class="w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border
5153 </button >
5254
5355 <button
56+ type =" button"
5457 @click =" reset"
5558 class =" w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border border-gray-200 rounded text-gray-600 hover:text-gray-800 transition-colors"
5659 title =" Reset View"
@@ -64,4 +67,4 @@ class="w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border
6467 <div class =" absolute bottom-4 right-4 bg-white/90 backdrop-blur-sm rounded-lg px-3 py-1 shadow-lg text-sm text-gray-600" >
6568 <span x-text =" `${Math.round(scale * 100)}%`" ></span >
6669 </div >
67- </div >
70+ </div >
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ class="max-w-none transition-transform duration-75 block select-none"
3131
3232 <div class =" absolute top-4 right-4 flex flex-col gap-2 bg-white/90 backdrop-blur-sm rounded-lg p-2 shadow-lg" >
3333 <button
34+ type =" button"
3435 @click =" zoomIn"
3536 class =" w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border border-gray-200 rounded text-gray-600 hover:text-gray-800 transition-colors"
3637 title =" Zoom In"
@@ -41,6 +42,7 @@ class="w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border
4142 </button >
4243
4344 <button
45+ type =" button"
4446 @click =" zoomOut"
4547 class =" w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border border-gray-200 rounded text-gray-600 hover:text-gray-800 transition-colors"
4648 title =" Zoom Out"
@@ -51,6 +53,7 @@ class="w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border
5153 </button >
5254
5355 <button
56+ type =" button"
5457 @click =" reset"
5558 class =" w-8 h-8 flex items-center justify-center bg-white hover:bg-gray-50 border border-gray-200 rounded text-gray-600 hover:text-gray-800 transition-colors"
5659 title =" Reset View"
You can’t perform that action at this time.
0 commit comments