[PAGES-1145] Remove padding from edit and preview views Created: 02/May/23  Updated: 06/Jun/23

Status: Open
Project: Magnolia pages module
Component/s: Editor Widget
Affects Version/s: 6.2.27
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Roberto Gaona Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2023-05-02 at 13.27.59.png     PNG File Screenshot 2023-05-02 at 13.29.52.png     PNG File Screenshot 2023-05-02 at 13.46.34.png    
Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:
Epic Link: AuthorX Support
Team: AuthorX

 Description   

Setting the view format to Tablet(Portrait) yields a view whose size doesn't match the one displayed (768 pixels wide but the view itself is 748px) due to the padding applied to the container element.

This causes some issues with specific CSS styles on the pages since the width doesn't match the one of a tablet in portrait mode for example.

Design feedback

  • If the user wants to preview a page in a specific format (e.g. 768px width for tablet portrait) then the content should adjust to precisely that width. Please remove the padding, as per the customer's request (see screenshot)
  • However, for consistency, I would also remove the padding in edit mode to0

Generated at Mon Feb 12 06:25:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.