width of master detail table

hi, i want to ask,
i use this code to make table width 100% in css
.ew-grid {
width: 100%;
}
However, on the master table the details have no effect if the sidebar is closed, the table is not 100% full and the detail table shrinks following the sidebar when it is closed.
Please share with me if anyone knows the css code.Thank You

You may Inspect HTML element and add your own CSS styles.