Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Grid label does not wrap in mobile view

SA-12935

Summary



When checking any repeat grid in mobile screen or mobile preview, longer text from grid column header does not wrap. It overlaps with control field next to it or text, if it is read-only mode. Wrap text does not work. It works until the data is displayed in the grid format and overlaps as the data turns in to fat list.

Error Messages



Not Applicable

Steps to Reproduce



Check a repeat grid, where the grid column header contains a long text, in mobile screen or mobile preview.

Root Cause



The root cause of this issue is the spreadsheet style which has Label width set as 80px and hence, the text could not be adjusted in that width.
 

Resolution



This issue is resolved through the following local-change:

Modify below in responsive-overrides.css as additional style to skin.

div.default .grid-responsive-default #gridBody_right .gridTable tr.cellCont td.gridCell {
position: relative;
height: auto !important;
padding-left: 12em;
border: none;
background-color: transparent;
color:#000;
}


Increase the padding-left to 12em from default 8.5em.

Published August 18, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice