button arrange
This commit is contained in:
@@ -55,7 +55,10 @@ class ChatAssistant extends Component {
|
|||||||
|
|
||||||
buildPrivacyPromptHtml = () => {
|
buildPrivacyPromptHtml = () => {
|
||||||
const { t } = this.props;
|
const { t } = this.props;
|
||||||
return `${t('chat.privacyPromptBefore')}<a href="/datenschutz" target="_blank" rel="noopener noreferrer">${t('chat.privacyPolicyLink')}</a>${t('chat.privacyPromptAfter')}<button data-confirm-privacy="true">${t('chat.privacyRead')}</button>`;
|
return `<div style="display: flex; flex-direction: column; gap: 8px; line-height: 1.5;">
|
||||||
|
<div>${t('chat.privacyPromptBefore')}<a href="/datenschutz" target="_blank" rel="noopener noreferrer">${t('chat.privacyPolicyLink')}</a>${t('chat.privacyPromptAfter')}</div>
|
||||||
|
<div><button data-confirm-privacy="true">${t('chat.privacyRead')}</button></div>
|
||||||
|
</div>`;
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Keep stored privacy bubble in sync with i18n (language switcher, lazy bundle load). */
|
/** Keep stored privacy bubble in sync with i18n (language switcher, lazy bundle load). */
|
||||||
|
|||||||
Reference in New Issue
Block a user