Openbravo Issue Tracking System - POS2
View Issue Details
0052328POS2Corepublic2023-05-03 14:152023-05-03 14:56
migueldejuana 
Triage Platform Base 
normaltrivialalways
newopen 
5
 
 
No
0052328: Text in cells of a Grid should a maximum of 2 lines and ellipsis.
In any Grid, the text of a cell should have a maximum of 2 lines and truncate with ellipsis in case it is longer.

See this mockup as an example: https://www.figma.com/file/ShhTLMp0A9qWAv9N1zd60c/POS-2.0---E?node-id=1746-221007&t=vNM5oycvPaOycMBM-0 [^]

n/a
Change .obc2BaseCellRender class adding:

display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;


Check also Figma to ensure that text is ok:

//styleName: 01. Main/Body 2;

font-family: Roboto;
font-size: 14px;
font-weight: 400;
line-height: 20px;
letter-spacing: 0.25px;
text-align: left;

No tags attached.
png Screenshot from 2023-05-03 14-15-32.png (11,158) 2023-05-03 14:15
https://issues.openbravo.com/file_download.php?file_id=18477&type=bug
png
Issue History
2023-05-03 14:15migueldejuanaNew Issue
2023-05-03 14:15migueldejuanaAssigned To => Triage Platform Base
2023-05-03 14:15migueldejuanaFile Added: Screenshot from 2023-05-03 14-15-32.png
2023-05-03 14:15migueldejuanaTriggers an Emergency Pack => No
2023-05-03 14:56migueldejuanaTypedefect => feature request

There are no notes attached to this issue.