mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 22:25:34 +01:00
Fix open/close channel list button alignment
This commit is contained in:
parent
dcfaa9b474
commit
676e83a872
2 changed files with 18 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<div *ngIf="channels$ | async as response; else skeleton">
|
||||
<form [formGroup]="channelStatusForm" class="formRadioGroup float-right">
|
||||
<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) {
|
||||
float: right;
|
||||
position: relative;
|
||||
top: -46px;
|
||||
}
|
||||
@media (max-width: 435px) {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-group {
|
||||
@media (max-width: 435px) {
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue