[style](trx-frontend-http): align unit and power labels to the right
Co-authored-by: OpenAI Codex <codex@openai.com> Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
@@ -96,7 +96,7 @@ input.status-input, select.status-input { width: 100%; padding: 0.45rem 0.5rem;
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
.controls-col-power.label-below-col .label {
|
.controls-col-power.label-below-col .label {
|
||||||
text-align: right;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
.controls-col.label-below-col > :not(.label) {
|
.controls-col.label-below-col > :not(.label) {
|
||||||
order: 1;
|
order: 1;
|
||||||
@@ -265,12 +265,16 @@ button:disabled { opacity: 0.6; cursor: not-allowed; }
|
|||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
}
|
}
|
||||||
.unit-col .label {
|
.unit-col .label {
|
||||||
text-align: right;
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
.label-below-row {
|
.label-below-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
#tab-main .label > span {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
.label-below-row > .label {
|
.label-below-row > .label {
|
||||||
order: 2;
|
order: 2;
|
||||||
margin-top: 0.45rem;
|
margin-top: 0.45rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user