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

[Bug] Cards not mobile-optimized #62

Open
dr460nf1r3 opened this issue Jan 31, 2025 · 0 comments · Fixed by #66
Open

[Bug] Cards not mobile-optimized #62

dr460nf1r3 opened this issue Jan 31, 2025 · 0 comments · Fixed by #66
Milestone

Comments

@dr460nf1r3
Copy link
Collaborator

dr460nf1r3 commented Jan 31, 2025

Description:

Cards are not mobile-friendly.

Version

0.3.1

What happens?

Currently looks like this:

Image

What is expected to happen?

Should not have flex in this mode.

Logs

No response

More information

I fixed it via:

.garuda-card-product-showcase-header {
  @apply block md:flex !important;
}

.garuda-card-thumbnail-container {
  @apply mb-5 mr-0 md:mr-10 !important;
}

Pure CSS:

.garuda-card-product-showcase-header {
  display: block; 
  @media (min-width: 768px) {
    display: flex; 
  }
}

.garuda-card-thumbnail-container {
  margin-bottom: 1.25rem;
  margin-right: 0px;
  @media (min-width: 768px) {     
   margin-right: 2.5rem
  }
}

Gives this result:

Image

@FilipTLW FilipTLW added this to the v0.4 milestone Feb 1, 2025
FilipTLW added a commit that referenced this issue Feb 1, 2025
@FilipTLW FilipTLW linked a pull request Feb 1, 2025 that will close this issue
FilipTLW added a commit that referenced this issue Feb 2, 2025
FilipTLW added a commit that referenced this issue Feb 2, 2025
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 a pull request may close this issue.

2 participants