Commit 3d756d1
committed
fix: AD5X printer detection and UI refinements
Fixes:
- Added AD5X and ad5x to 5M family printer detection (was only checking
for "5M" or "Pro", causing AD5X to be incorrectly identified as legacy
and failing to prompt for check code)
- Fixed oversized icons by constraining SVG dimensions to 16x16px for:
* .add-printer-btn icons
* .discovery-tab-btn icons
* .btn icons
- Fixed saved printer card text alignment by making .printer-info a
flex column with proper spacing
The AD5X is now correctly identified as a 5M family printer requiring
dual API connection with check code prompt.1 parent 6c23cf3 commit 3d756d1
2 files changed
Lines changed: 36 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
240 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
241 | 246 | | |
242 | 247 | | |
243 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1619 | 1619 | | |
1620 | 1620 | | |
1621 | 1621 | | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
1622 | 1627 | | |
1623 | 1628 | | |
1624 | 1629 | | |
| |||
1644 | 1649 | | |
1645 | 1650 | | |
1646 | 1651 | | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
1647 | 1657 | | |
1648 | 1658 | | |
1649 | 1659 | | |
| |||
1701 | 1711 | | |
1702 | 1712 | | |
1703 | 1713 | | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
1704 | 1721 | | |
1705 | | - | |
| 1722 | + | |
1706 | 1723 | | |
1707 | 1724 | | |
1708 | 1725 | | |
| |||
1713 | 1730 | | |
1714 | 1731 | | |
1715 | 1732 | | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
1716 | 1738 | | |
1717 | 1739 | | |
1718 | 1740 | | |
| |||
1782 | 1804 | | |
1783 | 1805 | | |
1784 | 1806 | | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
1785 | 1812 | | |
1786 | 1813 | | |
1787 | 1814 | | |
| |||
0 commit comments