-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[Table] Wrong Table border radius when apply background color #23835
Comments
@katopz can you please provide a minimal reproduction test case with v5. A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you! This example may help you with customization the component - https://material-ui.com/components/tables/#customized-tables |
minimal reproduction is already there with source code + live example 👉 https://material-ui.com/components/tables/#fixed-header I can see |
@katopz We could update potentially do: diff --git a/docs/src/pages/components/tables/StickyHeadTable.tsx b/docs/src/pages/components/tables/StickyHeadTable.tsx
index 87c22f2791..fbbe3dbe0e 100644
--- a/docs/src/pages/components/tables/StickyHeadTable.tsx
+++ b/docs/src/pages/components/tables/StickyHeadTable.tsx
@@ -82,6 +82,7 @@ const rows = [
const useStyles = makeStyles({
root: {
width: '100%',
+ overflow: 'hidden',
},
container: {
maxHeight: 440, to respect the |
@oliviertassinari , thanks for the solution, I'll be creating a PR later this day to update the docs, unless someone else is working on it already |
Problem : When apply background color to
Table
header, it somehow lost border radius curve.https://material-ui.com/components/tables/#fixed-header
I think we need to
border-top-left-radius: 4px;
andborder-top-right-radius: 4px;
to theadborder-radius: inherit;
to tr and thSo we got border curve as expect.
The text was updated successfully, but these errors were encountered: