Ghost icon indicating copy to clipboard operation
Ghost copied to clipboard

[18867] Fix for staff token buttons in dark mode

Open Akhi88S opened this issue 2 years ago • 0 comments

closes https://github.com/TryGhost/Ghost/issues/18867

  • Same class is being applied in both light and dark themes. Addressed it by adding the differentating class to the parent div and removing them from its descendants to avoid redundancy.

  • After implementing the fix, the buttons will now appear differently in dark and light modes, as illustrated below.

light bg dark bg

🤖 Generated by Copilot at 96410f9

Fixed a UI bug with API keys buttons and improved their consistency with the rest of the settings. Removed !bg-white from apps/admin-x-settings/src/components/settings/advanced/integrations/APIKeys.tsx and added bg-white to the parent div.

Akhi88S avatar Nov 12 '23 08:11 Akhi88S