Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jun 1, 2025

  • Identify root cause of card_mod styling inconsistency
  • Uncomment card-mod resource in resources.yaml to enable proper styling
  • Improve style.js reliability to handle timing issues better
  • Test that card_mod styling works consistently

Root Cause Found: The card-mod JavaScript resource is commented out in resources.yaml (lines 78-79), which explains why styling is inconsistent - card-mod isn't being loaded at all. The configuration extensively uses type: custom:mod-card with card_mod: styling for background images and the "invisible" class styling.

Fix Plan: Uncomment the card-mod resource and add better error handling to style.js to ensure masonry layout works reliably even if there are timing issues between different JavaScript modules.

Fixes #19.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@tbrasser tbrasser closed this Jun 1, 2025
@tbrasser tbrasser deleted the copilot/fix-19 branch June 1, 2025 09:56
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.

make card_mod style consistently ... still buggy

2 participants