Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch(styles): Patching missing styles for live, adding in more style coverage #9

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

FMorrison87
Copy link

This PR includes styling changes to the Astro plugin to more generically target elements of the Astro Panel and the Grafana UI that were overwritten when Grafana switched over to auto-generated and semi auto-generated classnames.

To achieve this, the targeting was changed, where possible, to look for pieces of classnames instead of specific classnames.
Instead of .panel-container, we are now targeting with [class*="panel-container"]

As many specific classnames were used as was possible, however this PR includes elements that are targeted with the auto-generated names. This will likely mean that these changes will need to be updated for future builds. Most of these auto-generated classnames that are now being targeted are looking at general Grafana UI, to make it look more Astro-ified, not the Astro panel itself.

This PR also includes an attempt at organizing and commenting the styles for ease of updating.

@micahjones13
Copy link
Collaborator

micahjones13 commented Apr 27, 2023

Looking so much better!
I messaged you about the clock theme switching thing I'm seeing - we should look into that.

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