mirror of
				https://github.com/KevinMidboe/planetposen.git
				synced 2025-10-29 17:50:32 +00:00 
			
		
		
		
	Only hoved button when on hover enable browsers.
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| <template> | ||||
|   <button :class="computedClass"><slot></slot></button> | ||||
|   <button :class="computedClass" @click="$emit('click')"><slot></slot></button> | ||||
| </template> | ||||
|  | ||||
| <script> | ||||
| @@ -57,8 +57,10 @@ button { | ||||
|     font-size: var(--btn-sm); | ||||
|   } | ||||
|  | ||||
|   &.scale-rotate:hover { | ||||
|     transform: rotate(4deg) scale(1.05); | ||||
|   @media(hover: hover) and (pointer: fine) { | ||||
|     &.scale-rotate:hover { | ||||
|       transform: rotate(4deg) scale(1.05); | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   &.black { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user