Fix button style
This commit is contained in:
parent
fb3a5d26aa
commit
0491539dfd
@ -340,7 +340,7 @@ export class ChannelConfigurationElement extends LitElement {
|
|||||||
: ''
|
: ''
|
||||||
}
|
}
|
||||||
<div class="form-group mt-5">
|
<div class="form-group mt-5">
|
||||||
<button type="button" class="orange-button" @click=${this._saveConfig}>${ptTr(LOC_SAVE)}</button>
|
<button type="button" class="peertube-button-link orange-button" @click=${this._saveConfig}>${ptTr(LOC_SAVE)}</button>
|
||||||
</div>
|
</div>
|
||||||
${(this._formStatus && this._formStatus.success === undefined) ?
|
${(this._formStatus && this._formStatus.success === undefined) ?
|
||||||
html`<div class="alert alert-warning" role="alert">
|
html`<div class="alert alert-warning" role="alert">
|
||||||
|
@ -206,7 +206,7 @@ export class DynamicTableFormElement extends LitElement {
|
|||||||
${Object.entries(rowData.row).filter(([k, v]) => k != '_id')
|
${Object.entries(rowData.row).filter(([k, v]) => k != '_id')
|
||||||
.sort(([k1,_1], [k2,_2]) => this._colOrder.indexOf(k1) - this._colOrder.indexOf(k2))
|
.sort(([k1,_1], [k2,_2]) => this._colOrder.indexOf(k1) - this._colOrder.indexOf(k2))
|
||||||
.map((data) => this.renderDataCell(data, rowData._id))}
|
.map((data) => this.renderDataCell(data, rowData._id))}
|
||||||
<td class="form-group"><button type="button" class="btn dynamic-table-remove-row" @click=${() => this._removeRow(rowData._id)}>${unsafeHTML(RemoveSVG)}</button></td>
|
<td class="form-group"><button type="button" class="peertube-button-link dynamic-table-remove-row" @click=${() => this._removeRow(rowData._id)}>${unsafeHTML(RemoveSVG)}</button></td>
|
||||||
</tr>`
|
</tr>`
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -215,7 +215,7 @@ export class DynamicTableFormElement extends LitElement {
|
|||||||
return html`<tfoot>
|
return html`<tfoot>
|
||||||
<tr>
|
<tr>
|
||||||
${Object.values(this.header).map(() => html`<td></td>`)}
|
${Object.values(this.header).map(() => html`<td></td>`)}
|
||||||
<td><button type="button" class="btn dynamic-table-add-row" @click=${this._addRow}>${unsafeHTML(AddSVG)}</button></td>
|
<td><button type="button" class="peertube-button-link dynamic-table-add-row" @click=${this._addRow}>${unsafeHTML(AddSVG)}</button></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>`
|
</tfoot>`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user