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

append style to rpivotTable css styles #108

Open
jangorecki opened this issue Nov 5, 2019 · 2 comments
Open

append style to rpivotTable css styles #108

jangorecki opened this issue Nov 5, 2019 · 2 comments

Comments

@jangorecki
Copy link

I want to have my rpivotTable aligned to left side of the screen ignoring template setting. Due to the html_output template things like <div align="left"> does not work. Defining styles as the beolw works, but AFAIU the problem is it overrides rpivotTable styles provided to function call, like height="100%", which makes the table overlaying on the text which is normally below the table, when mentioned style is not added.

<style>
.rpivotTable{
  position: absolute;
  left: 10px;
}
</style>

Is there any way to simply append those styling attributes to achieve the left alignment?

@smartinsightsfromdata
Copy link
Owner

@nicolaskruchten Do you see a way to solve this via pivotable css?

@nicolaskruchten
Copy link
Collaborator

You should be able to override any CSS without modifying this component, using the usual CSS precedence rules, up to and including !important.

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

3 participants