mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-27 18:10:58 +00:00
allow CSS Module pseudo-selector
This commit is contained in:
parent
c3d52ca772
commit
c719ac23df
|
|
@ -13,6 +13,10 @@
|
|||
max-height: 50vh;
|
||||
box-sizing: border-box;
|
||||
|
||||
:global(.emojione) {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,5 +42,14 @@ module.exports = {
|
|||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
'files': ['app/javascript/**/*.module.scss', 'app/javascript/**/*.module.css'],
|
||||
rules: {
|
||||
'selector-pseudo-class-no-unknown': [
|
||||
true,
|
||||
{ ignorePseudoClasses: ['global'] },
|
||||
],
|
||||
}
|
||||
}
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user