mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-20 07:43:48 +08:00
render
This commit is contained in:
@@ -356,6 +356,16 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.ds-row-text-input {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
gap: var(--gap-sm);
|
||||
}
|
||||
|
||||
.ds-row-text-input .ds-row-info {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.ds-row-info {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
@@ -441,6 +451,19 @@
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.ds-text-input {
|
||||
appearance: none;
|
||||
box-sizing: border-box;
|
||||
cursor: text;
|
||||
min-height: 2.25rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ds-text-input:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: var(--disabled-opacity);
|
||||
}
|
||||
|
||||
.ds-apply-btn {
|
||||
background: transparent;
|
||||
border: var(--border-style-main);
|
||||
|
||||
@@ -1662,7 +1662,7 @@ function renderSettingRow(p) {
|
||||
}
|
||||
|
||||
return html`
|
||||
<div class="ds-row ${isNumeric ? "ds-row-numeric" : ""} ${isChild}">
|
||||
<div class="ds-row ${isNumeric ? "ds-row-numeric" : ""} ${isText ? "ds-row-text-input" : ""} ${isChild}">
|
||||
<div class="ds-row-info">
|
||||
<div class="ds-row-text">
|
||||
<div class="ds-row-heading">
|
||||
|
||||
Reference in New Issue
Block a user