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

Grid's selectable checkboxes don't appear in Google Chrome (they appear in IE and Firefox) #2153

Closed
jcrmatos opened this issue Mar 18, 2019 · 2 comments

Comments

@jcrmatos
Copy link

Grid's selectable checkboxes don't appear in Google Chrome (they appear in IE and Firefox).

Windows 7 Pro x64 SP1+all updates
Python 3.7.1 x86
web2py 2.18.4

Firefox 65.0.2 x64
IE 11
Google Chrome 73.0.3683.75 (Official Build) (64-bit)

@Kkeller83
Copy link

How did you resolve it?

@jcrmatos
Copy link
Author

It was a CSS configuration on my end. The strange thing is that it only affected Google Chrome.
I had this to center the grid's checkboxes columns in the web2py-bootstrap4.css

.web2py_grid_wo input[type="checkbox"] {
    text-align: center;
    width: 100%;
}

And that was causing Google Chrome to not show the selection checkboxes. They were there (in the HTML code), they simply were not shown.
I added this to solve it.

.web2py_grid_wo input[name="records"] {
    text-align: left;
    width: auto;
}

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

2 participants