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

Accordion body renders weird at ~850px width #35

Open
nanoo-k opened this issue Feb 20, 2020 · 0 comments
Open

Accordion body renders weird at ~850px width #35

nanoo-k opened this issue Feb 20, 2020 · 0 comments

Comments

@nanoo-k
Copy link

nanoo-k commented Feb 20, 2020

I ran into an issue where the accordion content blocks were looking weird at roughly 850px screen widths on Google Chrome Version 80.0.3987.116 (Official Build) (64-bit). I'm working from the dev-master branch.

The issue didn't appear on accordions that had plain text inside them but in the accordion that had images and other formatting.

[lgc_column grid="33" tablet_grid="33" mobile_grid="100" last="false"]
Some text
[/lgc_column]
[lgc_column grid="33" tablet_grid="33" mobile_grid="100" last="false"]
here
[/lgc_column]
[lgc_column grid="33" tablet_grid="33" mobile_grid="100" last="true"]
more info link
[/lgc_column]

I fixed it by overriding this CSS (Line 1511, says my element inspector):

@media (max-width: 1024px) {
  .lgc-clear {
    display: none;
  }
}

I just wrote a new rule that set it to display: block !important:

@media (max-width: 1024px) {
.lgc-clear {
display: block !important;
}
}

Here's some images to show what I'm talking about.

how-it-should-look
how-it-should-not-look

Not sure how you want to handle it. I fixed the problem for my situation, but am not sure if it's indicative of a broader issue.

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

No branches or pull requests

1 participant