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

Update CSS with classes and remove dynamic styles #23

Closed
alexhgreen07 opened this issue Sep 2, 2013 · 1 comment
Closed

Update CSS with classes and remove dynamic styles #23

alexhgreen07 opened this issue Sep 2, 2013 · 1 comment

Comments

@alexhgreen07
Copy link
Contributor

I would like to remove the dynamic styles generated when 'pivot_display()' is called. Also the <h2> tags should be changed to a CSS class. The list of change items is below:

  • Replace <h2> tags with <span class="pivot_header2"> tags.
  • Replace dynamic styles with CSS classes 'pivot_field':
.pivot_field
{
        float: none; 
        width: 300px; 
        margin-left: 20px;
}

The new code will look like:

<div class="pivot_field">
<span class="pivot_header2">Filter Fields</span>
<div id="filter-list">
<!-- Filter list tags -->
</div>
<div class="pivot_field">
<span class="pivot_header2">Row Label Fields</span>
<div id="row-label-fields">
<!-- Row label tags -->
</div>
<!-- etc... -->
@alexhgreen07
Copy link
Contributor Author

A change for this has been submitted as a pull request: #24. If this change is accepted we can close both of these.

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