fix(frontend): Titels van leerpaden worden nu niet meer afgeknipt
(In de titel van een leerpadpagina & in de overzichten)
This commit is contained in:
		
							parent
							
								
									ed8b5c919d
								
							
						
					
					
						commit
						c9667af9b4
					
				
					 2 changed files with 16 additions and 6 deletions
				
			
		|  | @ -24,7 +24,7 @@ const props = defineProps<{learningPaths: LearningPath[]}>(); | ||||||
|                 cover |                 cover | ||||||
|                 v-if="learningPath.image" |                 v-if="learningPath.image" | ||||||
|             ></v-img> |             ></v-img> | ||||||
|             <v-card-title>{{ learningPath.title }}</v-card-title> |             <v-card-title class="learning-path-title">{{ learningPath.title }}</v-card-title> | ||||||
|             <v-card-subtitle> |             <v-card-subtitle> | ||||||
|                 <v-icon icon="mdi-human-male-boy"></v-icon> |                 <v-icon icon="mdi-human-male-boy"></v-icon> | ||||||
|                 <span>{{ learningPath.targetAges.min }} - {{ learningPath.targetAges.max }} {{ t('yearsAge') }}</span> |                 <span>{{ learningPath.targetAges.min }} - {{ learningPath.targetAges.max }} {{ t('yearsAge') }}</span> | ||||||
|  | @ -45,6 +45,9 @@ const props = defineProps<{learningPaths: LearningPath[]}>(); | ||||||
|     .learning-path-card { |     .learning-path-card { | ||||||
|         width: 300px; |         width: 300px; | ||||||
|     } |     } | ||||||
|  |     .learning-path-title { | ||||||
|  |         white-space: normal; | ||||||
|  |     } | ||||||
|     .results-grid { |     .results-grid { | ||||||
|         margin: 20px; |         margin: 20px; | ||||||
|         display: flex; |         display: flex; | ||||||
|  |  | ||||||
|  | @ -110,11 +110,15 @@ | ||||||
|         :query-result="learningPathQueryResult" |         :query-result="learningPathQueryResult" | ||||||
|         v-slot="learningPath: {data: LearningPath}" |         v-slot="learningPath: {data: LearningPath}" | ||||||
|     > |     > | ||||||
|         <v-navigation-drawer v-model="navigationDrawerShown"> |         <v-navigation-drawer v-model="navigationDrawerShown" :width="350"> | ||||||
|             <v-list-item |             <v-list-item> | ||||||
|                 :title="learningPath.data.title" |                 <template v-slot:title> | ||||||
|                 :subtitle="learningPath.data.description" |                     <div class="learning-path-title">{{ learningPath.data.title }}</div> | ||||||
|             ></v-list-item> |                 </template> | ||||||
|  |                 <template v-slot:subtitle> | ||||||
|  |                     <div>{{ learningPath.data.description }}</div> | ||||||
|  |                 </template> | ||||||
|  |             </v-list-item> | ||||||
|             <v-list-item> |             <v-list-item> | ||||||
|                 <template v-slot:subtitle> |                 <template v-slot:subtitle> | ||||||
|                     <p><v-icon :color="COLORS.notCompleted" :icon="ICONS.notCompleted"></v-icon> {{ t("legendNotCompletedYet") }}</p> |                     <p><v-icon :color="COLORS.notCompleted" :icon="ICONS.notCompleted"></v-icon> {{ t("legendNotCompletedYet") }}</p> | ||||||
|  | @ -188,6 +192,9 @@ | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <style scoped> | <style scoped> | ||||||
|  |     .learning-path-title { | ||||||
|  |         white-space: normal; | ||||||
|  |     } | ||||||
|     .search-field-container { |     .search-field-container { | ||||||
|         min-width: 250px; |         min-width: 250px; | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Gerald Schmittinger
						Gerald Schmittinger