forked from EVOgeek/Vmeda.Online
		
	MOBILE-3881 timeline: Wrap overdue status
This commit is contained in:
		
							parent
							
								
									c3cc36477f
								
							
						
					
					
						commit
						22d30e7a07
					
				| @ -26,10 +26,12 @@ | |||||||
|                                 </core-mod-icon> |                                 </core-mod-icon> | ||||||
|                             </ion-col> |                             </ion-col> | ||||||
|                             <ion-col class="addon-block-timeline-activity-name ion-no-padding"> |                             <ion-col class="addon-block-timeline-activity-name ion-no-padding"> | ||||||
|                                 <p class="item-heading"> |                                 <p class="item-heading addon-block-timeline-activity-name-with-status"> | ||||||
|  |                                     <span> | ||||||
|                                         <core-format-text [text]="event.activityname || event.name" contextLevel="module" |                                         <core-format-text [text]="event.activityname || event.name" contextLevel="module" | ||||||
|                                             [contextInstanceId]="event.id" [courseId]="event.course && event.course.id"> |                                             [contextInstanceId]="event.id" [courseId]="event.course && event.course.id"> | ||||||
|                                         </core-format-text> |                                         </core-format-text> | ||||||
|  |                                     </span> | ||||||
|                                     <ion-badge *ngIf="event.overdue" color="danger">{{ 'addon.block_timeline.overdue' | translate }} |                                     <ion-badge *ngIf="event.overdue" color="danger">{{ 'addon.block_timeline.overdue' | translate }} | ||||||
|                                     </ion-badge> |                                     </ion-badge> | ||||||
|                                 </p> |                                 </p> | ||||||
|  | |||||||
| @ -31,6 +31,15 @@ h4.core-bold { | |||||||
|     justify-content: flex-end; |     justify-content: flex-end; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .addon-block-timeline-activity-name-with-status { | ||||||
|  |     display: flex; | ||||||
|  |     flex-wrap: wrap; | ||||||
|  |     span { | ||||||
|  |         overflow: hidden; | ||||||
|  |         text-overflow: ellipsis; | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | 
 | ||||||
| .addon-block-timeline-activity-course-activity { | .addon-block-timeline-activity-course-activity { | ||||||
|     display: flex; |     display: flex; | ||||||
|     flex-wrap: wrap; |     flex-wrap: wrap; | ||||||
|  | |||||||
| @ -31,6 +31,8 @@ img { | |||||||
|     height: var(--size); |     height: var(--size); | ||||||
|     max-width: var(--size); |     max-width: var(--size); | ||||||
|     max-height: var(--size); |     max-height: var(--size); | ||||||
|  |     min-width: var(--size); | ||||||
|  |     min-height: var(--size); | ||||||
|     vertical-align: top; |     vertical-align: top; | ||||||
| 
 | 
 | ||||||
|     &[alt] { |     &[alt] { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user