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

Fix to invalid keyframes in component-pickup-availability.css #3618

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Matt-Kaminski
Copy link

@Matt-Kaminski Matt-Kaminski commented Sep 20, 2024

The original animateDrawerOpen keyframes contained media queries directly inside the keyframes rule, which is not valid CSS syntax. Keyframe animations cannot include media queries in this way.

The animation now correctly defines the keyframes without attempting to use media queries within the keyframes rule.

PR Summary:

Fix pickup availability drawer open animation

What approach did you take?

  1. Removed invalid media query syntax from within the keyframes rule
  2. Simplified to a single set of keyframes that applies to all screen sizes

Visual impact on existing themes

Fix pickup availability drawer open animation

Checklist

Correct invalid CSS structure in component-pickup-availability.css

The original animateDrawerOpen keyframes contained media queries directly inside the @Keyframes rule, which is not valid CSS syntax. Keyframe animations cannot include media queries in this way.

Changes made:
1. Removed invalid media query syntax from within the @Keyframes rule
2. Simplified to a single set of keyframes that applies to all screen sizes

The animation now correctly defines the keyframes without attempting to 
use media queries within the @Keyframes rule.
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.

1 participant