mirror of
https://github.com/primer/css.git
synced 2024-09-19 04:37:38 +03:00
add deprecations for .dropdown-menu-content
This commit is contained in:
parent
3a575bd5b8
commit
f95681fd00
@ -51,6 +51,14 @@ const versionDeprecations = {
|
||||
{
|
||||
selectors: ['.centered'],
|
||||
message: `You can use the "mx-auto" class to center any element.`
|
||||
},
|
||||
{
|
||||
selectors: [
|
||||
'.dropdown-menu-content',
|
||||
'.dropdown.active .dropdown-menu-content',
|
||||
'.dropdown-menu-content.anim-scale-in'
|
||||
],
|
||||
message: `The "dropdown-menu-content" class is unnecessary.`
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user