cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Design Studio - Crosstab dynamic column width with css

Former Member
0 Kudos

Hi experts,

I trying to make a responsive crosstab on CSS. I was able to find with the browser inspect element tool where can I customize the exact column that I need.

In order to make it responsive, i tried to place the "width" and the "colum-width"atributes with 20%, but it not responds to it. In other hand, when I place any value in pixels, it just works fine.

I tried to manipulate other atributes like "background-color" and others and it seems to respond normally.

See the CSS code below:

.table1 table:nth-child(1) tr:nth-child(2) td:nth-child(2) table:nth-child(1) tr:nth-child(1) table:nth-child(1) tr:nth-child(1) td:nth-child(1) {

background-color: green!important;

width: 90%!important;

}

Anyone has any idea what am I doing wrong?

Thanks in advance.

Accepted Solutions (0)

Answers (0)