MOBILE-2716 course: Fix section selector lenght
This commit is contained in:
		
							parent
							
								
									51d530f7b5
								
							
						
					
					
						commit
						c584b9ae13
					
				| @ -449,6 +449,7 @@ ion-app.app-root { | ||||
|     white-space: normal; | ||||
|     align-self: start; | ||||
|     max-width: none; | ||||
|     @include text-align('start'); | ||||
| 
 | ||||
|     &.select-md, | ||||
|     &.button-md { | ||||
|  | ||||
| @ -20,9 +20,9 @@ | ||||
|         <!-- Section selector. --> | ||||
|         <core-dynamic-component [component]="sectionSelectorComponent" [data]="data"> | ||||
|             <div text-wrap *ngIf="displaySectionSelector && sections && sections.length" padding class="clearfix" ion-row justify-content-between> | ||||
|                 <button float-start ion-button icon-start (click)="showSectionSelector($event)" color="light" class="core-button-select button-no-uppercase" ion-col> | ||||
|                 <button float-start ion-button icon-start icon-end (click)="showSectionSelector($event)" color="light" class="core-button-select button-no-uppercase" ion-col> | ||||
|                     <core-icon name="fa-folder"></core-icon> | ||||
|                     {{selectedSection && (selectedSection.formattedName || selectedSection.name) || 'core.course.sections' | translate }} | ||||
|                     <span class="core-section-selector-text">{{selectedSection && (selectedSection.formattedName || selectedSection.name) || 'core.course.sections' | translate }}</span> | ||||
|                     <ion-icon name="arrow-dropdown" ios="md-arrow-dropdown"></ion-icon> | ||||
|                 </button> | ||||
|                 <!-- Section download. --> | ||||
|  | ||||
| @ -6,6 +6,13 @@ ion-app.app-root ion-badge.core-course-download-section-progress { | ||||
| 
 | ||||
| ion-app.app-root core-course-format { | ||||
| 
 | ||||
|     button.core-button-select .core-section-selector-text { | ||||
|         overflow: hidden; | ||||
|         text-overflow: ellipsis; | ||||
|         line-height: 2em; | ||||
|         white-space: nowrap; | ||||
|     } | ||||
| 
 | ||||
|     .core-format-progress-list { | ||||
|         margin-bottom: 0; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user