Skip to content

Conversation

@jeffredodd
Copy link
Contributor

This Pr removes our base img/picture style and implemented the style directly in the one place its used today.

Copilot AI review requested due to automatic review settings October 24, 2025 16:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the image styling approach by removing global base styles for images and pictures, moving the specific styles to the EmptyData component where they are actually needed. This reduces the global CSS footprint and makes the styling more intentional and maintainable.

  • Removed global img and picture styles from the base stylesheet
  • Added a scoped .image class to EmptyData.module.scss with the same styles
  • Applied the new .image class to the magnifying glass image in the EmptyData component

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/styles/_Base.scss Removed global image and picture styles
src/components/Common/EmptyData/EmptyData.tsx Added className prop to apply scoped image styles
src/components/Common/EmptyData/EmptyData.module.scss Added new .image class with the previously global styles

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jeffredodd jeffredodd merged commit ba92b99 into main Oct 24, 2025
7 checks passed
@jeffredodd jeffredodd deleted the jdj/remove-image-base-styles branch October 24, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants