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

First column can overwrite contents of other cells #141

Open
devnu11 opened this issue May 2, 2017 · 0 comments
Open

First column can overwrite contents of other cells #141

devnu11 opened this issue May 2, 2017 · 0 comments

Comments

@devnu11
Copy link

devnu11 commented May 2, 2017

It is reasonably easy to force with some   in the first column, and filling other columns with buttons

Anyways the resolution for me was to switch use the following css. I didn't want to do a pull request, b/c I am guessing there is a reason for the relative positioning vs. the solution below. And i wanted to understand before doing a pull request.

.tree-grid .level-1 td:first-child {
padding-left: 0px;
}

.tree-grid .level-2 td:first-child {
padding-left: 20px;
}

.tree-grid .level-3 td:first-child {
padding-left: 40px;
}

.tree-grid .level-4 td:first-child {
padding-left: 60px;
}

.tree-grid .level-5 td:first-child {
padding-left: 80px;
}

.tree-grid .level-6 td:first-child {
padding-left: 100px;
}

.tree-grid .level-7 td:first-child {
padding-left: 120px;
}

.tree-grid .level-8 td:first-child {
padding-left: 140px;
}

.tree-grid .level-9 td:first-child {
padding-left: 160px;
}

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