Frontmatter
| id | 8039 |
| title | Fix drag proxy styling for StrategyPanel KPI cards |
| state | Closed |
| labels | bugdesign |
| assignees | tobiu |
| createdAt | Dec 6, 2025, 9:43 PM |
| updatedAt | Dec 6, 2025, 9:52 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8039 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 6, 2025, 9:52 PM |
Fix drag proxy styling for StrategyPanel KPI cards
tobiu assigned to @tobiu on Dec 6, 2025, 9:43 PM
tobiu closed this issue on Dec 6, 2025, 9:52 PM

tobiu
Dec 6, 2025, 9:52 PM
Input from Gemini 2.5 pro:
✦ Fixed the drag proxy styling issue for the StrategyPanel.
Changes:
- StrategyPanel.mjs: Confirmed
dragProxyExtraClsis set to['agent-panel-strategy', 'neo-panel']. This ensures the drag proxy (which wraps the dragged item) inherits the necessary CSS context so that nested selectors like.agent-panel-strategy .agent-kpi-card-panelcontinue to apply.- StrategyPanel.scss: Added a specific rule for
&.neo-dragproxyto remove the default border. This prevents the "double border" effect where both the proxy wrapper (which is now a.neo-panel) and the dragged item (the KPI card) would render borders.Outcome: Dragging KPI cards now correctly renders the card with its original styling and no unwanted artifacts.
Update
dragProxyExtraClsinapps/agentos/view/StrategyPanel.mjsto['agent-panel-strategy', 'neo-panel']to ensure correct styling during drag operations.Additionally, investigate and fix the issue where the drag proxy renders with an unwanted additional border.
Scope:
dragProxyExtraClschange.resources/scss/src/apps/agentos/StrategyPanel.scssor related files to remove the unwanted border on the proxy.