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

Controlling *width* of each column??? #20

Open
mattslay opened this issue Jun 13, 2013 · 2 comments
Open

Controlling *width* of each column??? #20

mattslay opened this issue Jun 13, 2013 · 2 comments

Comments

@mattslay
Copy link

Is there any way to control or assign the width of a column in the report?

@nathanl
Copy link
Contributor

nathanl commented Jun 13, 2013

Short of using a custom view, you could use something like CSS nth-child selectors.

That seems brittle, though. @adamhunter, what would you think of giving each column a CSS class based on its name? Eg, a column named "First Name" would have <th class="first-name"> and <td class="first-name">.

@adamhunter
Copy link
Member

Dossier 2.14 (I think) introduced the ability to set self.template = in the class body. I'm thinking of providing a template with dossier that has css selector hooks all over the place for this sort of customization.

Thoughts?

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