mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Crowdfund public UI re-design (#2918)
* Patch bootstrap-vue modal close button For Bootstrap v5 compatibility, which bootstrap-vue does not have currently. * Crowdfund: Use common global layout head (and themes) * Crowdfund: Display disabled alert also for simple variant * Crowdfund: Unify non-JS/simple and JS-enabled view * Improve fireworks animation * Improve layout Inspired by the Bitcoin Smiles compaign, see #2783 * Cleanup and remove views * Fix typo * Fix test
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
slots = _ref.slots;
|
||||
|
||||
var componentData = {
|
||||
staticClass: 'close',
|
||||
staticClass: 'btn-close',
|
||||
class: defineProperty({}, 'text-' + props.textVariant, props.textVariant),
|
||||
attrs: {
|
||||
type: 'button',
|
||||
@@ -147,7 +147,7 @@
|
||||
}
|
||||
// Careful not to override the slot with innerHTML
|
||||
};if (!slots().default) {
|
||||
componentData.domProps = { innerHTML: '×' };
|
||||
componentData.domProps = { innerHTML: '<svg role="img" class="icon icon-close"><use href="/img/icon-sprite.svg#close"></use></svg>' };
|
||||
}
|
||||
return h('button', mergeData(data, componentData), slots().default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user