Better CSS customization.

This commit is contained in:
John Livingston 2021-11-09 10:34:34 +01:00
parent af55d50c93
commit ab8dac1bba
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
3 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,2 @@
import '../src/entry.js'
import './sass/livechat.scss'
export * from '../src/entry.js'

View File

@ -1,3 +1,5 @@
@import "sass/converse";
body.livechat-iframe #conversejs .chat-head {
// Hidding the chat-head when the plugin is displayed in an iframe.
display: none;

View File

@ -9,6 +9,7 @@ module.exports = merge(prod, {
alias: {
// To override a template, use this syntax:
// 'templates/muc_sidebar.js': path.resolve(__dirname, 'custom/templates/muc_sidebar.js')
'../sass/converse.scss': path.resolve(__dirname, 'custom/sass/livechat.scss')
}
}
})