ConverseJS theme: Fix margin when hidding avatars.

This commit is contained in:
John Livingston
2021-11-22 14:50:55 +01:00
parent 01faeb2d4d
commit d45893a22c
2 changed files with 14 additions and 6 deletions

View File

@ -8,7 +8,7 @@ module.exports = {
rules: {
'selector-class-pattern': [
// extending the kebab-case to accept ConverseJS class names.
'^([a-z][a-z0-9]*)(-[a-z0-9]+)*(__[a-z]+)?$',
'^([a-z][a-z0-9]*)(-[a-z0-9]+)*((__|--)[a-z]+(-[a-z0-9]+)*)?$',
{
message: 'Expected class selector to be kebab-case, or ConverseJS-style.',
}