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

height parameter doesn't work on r7ExpandableCard #257

Open
dietrichson opened this issue Apr 4, 2024 · 1 comment
Open

height parameter doesn't work on r7ExpandableCard #257

dietrichson opened this issue Apr 4, 2024 · 1 comment

Comments

@dietrichson
Copy link

dietrichson commented Apr 4, 2024

> f7ExpandableCard(height = '10px')
<div class="card card-expandable" data-card="#">
  <div class="card-content">
    <div style="height: 300px;">
      <a href="#" class="link card-close card-opened-fade-in color-white" style="position: absolute; right: 15px; top: 15px;">
        <i class="icon f7-icons">xmark_circle_fill</i>
      </a>
    </div>
    <div class="card-content-padding">
      <p height="10px"></p>
    </div>
  </div>
</div>

The code adds a paragraph with height = 10px, however, the actual height of the card is still 300px as defined in the div ( <div style="height: 300px;">)

@dietrichson
Copy link
Author

BTW: the height parameter is present in the documentation, but not in the actual function signature.

dietrichson added a commit to chi2labs/shinyMobile that referenced this issue Apr 4, 2024
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