Merge pull request #2437 from mempool/nymkappa/bugfix/channel-status-align
Fix open/close channel list button alignment
This commit is contained in:
		
						commit
						f2377a5f92
					
				| @ -1,5 +1,5 @@ | ||||
| <div *ngIf="channels$ | async as response; else skeleton"> | ||||
|   <form [formGroup]="channelStatusForm" class="formRadioGroup float-right"> | ||||
| <div *ngIf="channels$ | async as response; else skeleton" style="position: relative;"> | ||||
|   <form [formGroup]="channelStatusForm" class="formRadioGroup"> | ||||
|     <div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" formControlName="status"> | ||||
|       <label ngbButtonLabel class="btn-primary btn-sm"> | ||||
|         <input ngbButton type="radio" [value]="'open'" fragment="open" i18n="open">Open | ||||
|  | ||||
| @ -7,3 +7,20 @@ | ||||
|   font-size: 12px; | ||||
|   top: 0px; | ||||
| } | ||||
| 
 | ||||
| .formRadioGroup { | ||||
|   @media (min-width: 435px) { | ||||
|     position: absolute; | ||||
|     right: 0; | ||||
|     top: -46px; | ||||
|   } | ||||
|   @media (max-width: 435px) { | ||||
|     display: flex; | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| .btn-group { | ||||
|   @media (max-width: 435px) { | ||||
|     flex-grow: 1; | ||||
|   } | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user