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

Fix table row height in Internet Explorer #1537

Closed
wants to merge 2 commits into from
Closed

Fix table row height in Internet Explorer #1537

wants to merge 2 commits into from

Conversation

CumpsD
Copy link
Contributor

@CumpsD CumpsD commented Aug 29, 2015

When using the Table from v0.11 with a fixed height, all rows were stretched to be the full height in Internet Explorer:

image

This is because Internet Explorer also needs a height on the tr.

This PR adds the height in the theme, and utilizes it in the table-row.jsx

End result:

image

@oliviertassinari
Copy link
Member

What happen if the height of a row is not a constant?

@CumpsD
Copy link
Contributor Author

CumpsD commented Aug 30, 2015

This PR does not deal with that, it simply corrects a bug, since right now it is already in the light theme:

https://github.com/callemall/material-ui/blob/master/src/styles/themes/light-theme.js#L168

I simply fixed it to also work in I.

I assume people would pass in a style via props if they wish to divert.

I don't really mind how the fix is, either remove the existing fixed height and leave it up to the user to specify it at both places, or fix it with this PR to be consistent :)

@shaurya947
Copy link
Contributor

@CumpsD if this issue still persists with IE, could you please update your branch? We have changed the theming code. Thanks!

@oliviertassinari oliviertassinari added the PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI label Oct 26, 2015
@oliviertassinari
Copy link
Member

@CumpsD Thanks, we have merge your solution 👍.

mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Nov 10, 2020
* Rename MuiPickersUtilsPorvider => LocalizationProvider

* Improve utils typings

* Implement global format override

* [docs]  Change name of date-io customization page

* Update examples to include new wording

* Fix prop-types typescript error

* Add daetAdapter prop for passing date-io utils directly to component

* Update percy and cypress

* Unskip flaky test

* Fix typo in error message

* Fix cypress test

* One more try to fix flaky test

* Remove flaky test

* Fix visual regression scenarios tests with new version of cypress

* Run cypress tests in chrome

* Ignore dark theme change in snapshots

* Try to fix example styles one more time

* Fix inccorect name of cypress executor

* Try weird hack to reinject styles

* Optimize theme toggling for visual regression

* Update scenario names to get rid of duplications

* Rename `adapter` => `dateAdapter`

* Rename libFormats => dateFormats, libInstance => dateLibInstance

* Remove version-specific code from README.md

* Fix documentation erros in installation guide

* Run prettier on README.md

* Use edge="end" for keyboard adornment icons, closes mui#1545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants