Basic Table, vertical image

Hi

Is there a way to display the full image in a Basic Table, when image weight > height?

(Get same result i Basic table as in Data Grid, as shown below)

1 Like

Went digging in devTool and got ChatGPT to help.

.TPtable div[class*="new-table___StyledDiv10-sc-1hkm9fb-30 cavCTb"] img {
 width: 170px;
}
2 Likes

Please be careful with the random class names, as it can change any time.

You might get the result with:

.TPtable div[class*="new-table___StyledDiv10"] img {
 width: 170px;
}

Thanks, didn’t know “-sc-1hkm9fb-30 cavCTb” was random.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.