1
1
mirror of https://github.com/primer/css.git synced 2024-09-19 20:57:37 +03:00

add deprecations for .dropdown-menu-content

This commit is contained in:
Shawn Allen 2019-09-10 14:13:13 -07:00
parent 3a575bd5b8
commit f95681fd00

View File

@ -51,6 +51,14 @@ const versionDeprecations = {
{ {
selectors: ['.centered'], selectors: ['.centered'],
message: `You can use the "mx-auto" class to center any element.` 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.`
} }
] ]
} }