Openbravo Issue Tracking System - POS2
View Issue Details
0052444POS2POSpublic2023-05-15 10:272023-08-11 15:02
ablasco 
ablasco 
normalmajorhave not tried
closedfixed 
5
 
23Q4 
No
0052444: Relative zoom should be adapted when switching to portrait mode
Landscape is 1024x768 and for portrait is 640x320.
The application will zoom in or out to keep always the same components proportions.

There are two rules apllying changes for portrait ; :
   -Once we surpass the 9/16 aspect ratio ( Media Query )
   - and ascpect ratio < 1 with .obc2MainApp-portrait className.

The problem is that obc2MainApp-portrait is declared some levels deeper in the html code, and :root is the same than <html>, that is where the font-size should be declared in order to let the “rem” acts as a zoom.

The obc2MainApp-portrait should be declared at html level.
*
No tags attached.
Issue History
2023-05-15 10:27ablascoNew Issue
2023-05-15 10:27ablascoAssigned To => Triage Platform Base
2023-05-15 10:27ablascoTriggers an Emergency Pack => No
2023-07-21 08:36hgbotNote Added: 0152768
2023-07-31 10:52AugustoMauchAssigned ToTriage Platform Base => ablasco
2023-08-11 15:02hgbotResolutionopen => fixed
2023-08-11 15:02hgbotStatusnew => closed
2023-08-11 15:02hgbotNote Added: 0153459
2023-08-11 15:02hgbotFixed in Version => 23Q4
2023-08-11 15:02hgbotNote Added: 0153460

Notes
(0152768)
hgbot   
2023-07-21 08:36   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1180 [^]
(0153459)
hgbot   
2023-08-11 15:02   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1180 [^]
(0153460)
hgbot   
2023-08-11 15:02   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 1fb384ea628fec7ed10528c273aa7f7347bc83c8
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 11-08-2023 15:01:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/1fb384ea628fec7ed10528c273aa7f7347bc83c8 [^]

Fixes ISSUE-52444 obc2MainApp-portrait Font aspect Ratio applied for portrait

---
M web-jspack/org.openbravo.core2/src/assets/style/layout.scss
M web-jspack/org.openbravo.core2/src/assets/style/main.scss
---