forked from EVOgeek/Vmeda.Online
		
	MOBILE-4372 theme: Fix ion fab position in iOS RTL
RTL and host-context seems not to work on recent iOS versions
This commit is contained in:
		
							parent
							
								
									3fb7bfa60b
								
							
						
					
					
						commit
						83dcbb0ea5
					
				| @ -1334,6 +1334,25 @@ ion-fab[core-fab] { | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| // The following 4 selectors can probably be removed after Ionic migration to 7+ | ||||
| ion-fab.fab-horizontal-start { | ||||
|     left: calc(10px + var(--ion-safe-area-right, 0px)); | ||||
| } | ||||
| 
 | ||||
| [dir=rtl] ion-fab.fab-horizontal-start { | ||||
|     right: calc(10px + var(--ion-safe-area-right, 0px)); | ||||
|     left: unset | ||||
| } | ||||
| 
 | ||||
| ion-fab.fab-horizontal-end { | ||||
|     right: calc(10px + var(--ion-safe-area-right, 0px)); | ||||
| } | ||||
| 
 | ||||
| [dir=rtl] ion-fab.fab-horizontal-end { | ||||
|     left: calc(10px + var(--ion-safe-area-right, 0px)); | ||||
|     right: unset | ||||
| } | ||||
| 
 | ||||
| ion-content.has-collapsible-footer ion-fab { | ||||
|     bottom: calc(var(--core-collapsible-footer-height, 0px) + 10px); | ||||
|     @include core-transition(all, 200ms); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user