# 044 - Widgets without Inner Boxes ## User Story As the operator, I want a widget's content to fill the widget instead of sitting in a second box, so that the Home widgets look calm and use their space. ## Decisions (operator-confirmed 2026-11-25; do not re-litigate) 1. **General rule**: when a widget's content root is itself a box (a card with its own border, background or padding), it loses border, background, radius and outer padding and fills the widget body; named examples Radio log, Radio device, Radio speak and Tasks Gantt. Rejected: rules per widget, which every new widget would need again; 033's speak-only rule folds into the general one. Amended 2026-11-26 after the e2e run: the walk also enters the one box of a wrapper that holds only it and `.legend` rows, so a Gantt or RASCI box beside its legend is flattened at any size; the legend stays under it, and the box with the rows after it fill the body; a text field inside the flattened box (the Radio speak input) keeps its frame. 2. **Titles**: an inner title that repeats the widget's title bar ("HISTORY" under "Radio log", "DEVICE" under "Radio device") is hidden in widget mode; section labels that add information stay. 3. **Full view unchanged**: outside widget mode the boxes stay as they are. ## Approach ```mermaid flowchart TD subgraph P["๐Ÿงญ 0 ยท Preparation"] P1["๐Ÿ“‹ Write requirement"] --> P2{"โœ… Operator approves?"} P2 -- "โœ๏ธ corrections" --> P1 end P2 -- "๐Ÿค– yes" --> A1 subgraph A["๐Ÿ“ฆ A ยท Unboxed widgets"] A1["๐Ÿงฉ One rule for the content root"] --> A2["๐Ÿท๏ธ Repeated inner titles hidden"] A2 --> A3["โœ๏ธ E2E test written"] end A3 --> C1 subgraph C["๐Ÿงช C ยท All of 039 to 046"] C1["๐Ÿงช All tests once"] --> C2{"๐ŸŸข Green?"} C2 -- "๐Ÿ”ด no: fix" --> C1 C2 -- "๐ŸŸข yes" --> CF{"๐Ÿ’ฌ Operator feedback on screenshots?"} CF -- "โœ๏ธ changes" --> A1 end CF -- "๐Ÿ‘ fits" --> D1["๐Ÿ Review, commit with operator OK, hand-over"] ``` ## Acceptance Criteria ### Widgets - [ ] For every widget kind on Home, the first box element inside `.home-tile` below the title bar has a computed `border-width` of 0 and a transparent background. - [ ] Its bottom edge lies within 2 px of the widget body's content bottom. - [ ] Radio log and Radio device show no visible inner title repeating the widget title. - [ ] Outside widget mode the same panels keep a 1px border. ### Tests - [ ] Unit: n/a: CSS. - [ ] Integration: n/a: no server change. - [ ] E2E: the checks above for all widget kinds at 1920 and 390; screenshots of Radio log, Radio device, Radio speak and Gantt.