mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			37 lines
		
	
	
		
			767 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			767 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | |
|   <div class="flex h-full px-1 overflow-hidden">
 | |
|     <div class="w-10 h-10 flex items-center justify-center">
 | |
|       <span class="material-symbols text-2xl text-gray-200">category</span>
 | |
|     </div>
 | |
|     <div class="flex-grow px-2 tagSearchCardContent h-full">
 | |
|       <p class="truncate text-sm">{{ genre }}</p>
 | |
|       <p class="text-xs text-gray-400">{{ $getString('LabelXItems', [numItems]) }}</p>
 | |
|     </div>
 | |
|   </div>
 | |
| </template>
 | |
| 
 | |
| <script>
 | |
| export default {
 | |
|   props: {
 | |
|     genre: String,
 | |
|     numItems: Number
 | |
|   },
 | |
|   data() {
 | |
|     return {}
 | |
|   },
 | |
|   computed: {},
 | |
|   methods: {},
 | |
|   mounted() {}
 | |
| }
 | |
| </script>
 | |
| 
 | |
| <style>
 | |
| .tagSearchCardContent {
 | |
|   width: calc(100% - 40px);
 | |
|   height: 44px;
 | |
|   display: flex;
 | |
|   flex-direction: column;
 | |
|   justify-content: center;
 | |
| }
 | |
| </style>
 |