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>
 | 
					<template>
 | 
				
			||||||
  <button :class="computedClass"><slot></slot></button>
 | 
					  <button :class="computedClass" @click="$emit('click')"><slot></slot></button>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
@@ -57,8 +57,10 @@ button {
 | 
				
			|||||||
    font-size: var(--btn-sm);
 | 
					    font-size: var(--btn-sm);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  &.scale-rotate:hover {
 | 
					  @media(hover: hover) and (pointer: fine) {
 | 
				
			||||||
    transform: rotate(4deg) scale(1.05);
 | 
					    &.scale-rotate:hover {
 | 
				
			||||||
 | 
					      transform: rotate(4deg) scale(1.05);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  &.black {
 | 
					  &.black {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user