Merge pull request #2437 from mempool/nymkappa/bugfix/channel-status-align
Fix open/close channel list button alignment
This commit is contained in:
		
						commit
						6918ceba2d
					
				@ -1,5 +1,5 @@
 | 
				
			|||||||
<div *ngIf="channels$ | async as response; else skeleton">
 | 
					<div *ngIf="channels$ | async as response; else skeleton" style="position: relative;">
 | 
				
			||||||
  <form [formGroup]="channelStatusForm" class="formRadioGroup float-right">
 | 
					  <form [formGroup]="channelStatusForm" class="formRadioGroup">
 | 
				
			||||||
    <div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" formControlName="status">
 | 
					    <div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" formControlName="status">
 | 
				
			||||||
      <label ngbButtonLabel class="btn-primary btn-sm">
 | 
					      <label ngbButtonLabel class="btn-primary btn-sm">
 | 
				
			||||||
        <input ngbButton type="radio" [value]="'open'" fragment="open" i18n="open">Open
 | 
					        <input ngbButton type="radio" [value]="'open'" fragment="open" i18n="open">Open
 | 
				
			||||||
 | 
				
			|||||||
@ -7,3 +7,20 @@
 | 
				
			|||||||
  font-size: 12px;
 | 
					  font-size: 12px;
 | 
				
			||||||
  top: 0px;
 | 
					  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