Seriously-Simple-Podcasting icon indicating copy to clipboard operation
Seriously-Simple-Podcasting copied to clipboard

Loader CSS class conflict in the admin

Open davidwebca opened this issue 3 years ago • 0 comments

Describe the bug Lots of other plugins use the class ".loader" and the styles applied clash with each other in the admin.

To Reproduce

  1. Install a plugin with a ".loader" class such as WP Jump Menu
  2. Notice the loader gif icon with Castos styles spinning in the black top admin bar

Expected behavior Scoping CSS classes and styles with a ".castos-" prefix (ex.: .castos-loader or .ssp-loader) would solve this issue.

Screenshots Capture d’écran, le 2022-06-09 à 22 44 42

Desktop (please complete the following information):

  • OS: Mac OS 12.4
  • Chrome
  • Version 102.0.5005.61

Additional context This would obviously not only concern the loader CSS class, but many others that are generic CSS class names. Ideally, all CSS selectors should be scoped with a prefix name to avoid conflicts like this.

Thanks!

davidwebca avatar Jun 10 '22 02:06 davidwebca