Fix orphan opening div.

This commit is contained in:
John Livingston 2024-06-11 12:08:50 +02:00
parent 8ccc2975e1
commit 2da97245ae
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -1,4 +1,5 @@
// SPDX-FileCopyrightText: 2024 Mehdi Benadel <https://mehdibenadel.com> // SPDX-FileCopyrightText: 2024 Mehdi Benadel <https://mehdibenadel.com>
// SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
// //
// SPDX-License-Identifier: AGPL-3.0-only // SPDX-License-Identifier: AGPL-3.0-only
@ -224,7 +225,6 @@ export class ChannelConfigurationElement extends LivechatElement {
</p> </p>
<form livechat-configuration-channel-options role="form" @submit=${this._saveConfig}> <form livechat-configuration-channel-options role="form" @submit=${this._saveConfig}>
<div class="row mt-3">
<div class="row mt-5"> <div class="row mt-5">
<div class="col-12 col-lg-4 col-xl-3"> <div class="col-12 col-lg-4 col-xl-3">
<livechat-configuration-row <livechat-configuration-row
@ -315,8 +315,10 @@ export class ChannelConfigurationElement extends LivechatElement {
} }
</div> </div>
</div> </div>
${this._channelConfiguration?.configuration.bot.enabled ${!this._channelConfiguration?.configuration.bot.enabled
? html`<div class="row mt-5"> ? ''
: html`
<div class="row mt-5">
<div class="col-12 col-lg-4 col-xl-3"> <div class="col-12 col-lg-4 col-xl-3">
<livechat-configuration-row <livechat-configuration-row
.title=${ptTr(LOC_LIVECHAT_CONFIGURATION_CHANNEL_FORBIDDEN_WORDS_LABEL)} .title=${ptTr(LOC_LIVECHAT_CONFIGURATION_CHANNEL_FORBIDDEN_WORDS_LABEL)}
@ -393,9 +395,8 @@ export class ChannelConfigurationElement extends LivechatElement {
.formName=${'command'}> .formName=${'command'}>
</livechat-dynamic-table-form> </livechat-dynamic-table-form>
</div> </div>
</div>` </div>
: '' `}
}
<div class="form-group mt-5"> <div class="form-group mt-5">
<input type="submit" class="peertube-button-link orange-button" value=${ptTr(LOC_SAVE)} /> <input type="submit" class="peertube-button-link orange-button" value=${ptTr(LOC_SAVE)} />
</div> </div>