Skip to content

🛡️ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!

Restore edit-modal tab icons on phones; add scroll fade hint

Omega (QA)156ab2c27c64
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4ad9a7a..88f2a91 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -164,7 +164,7 @@
- _Files: `frontend/status.html`, `frontend/status.js`, `frontend/style.css`, `locales/*/translation.json`_
- **Duplicate `status.js` include removed:** `status.html` loaded `status.js` twice (once in `<head>`, once at end of `<body>`), attaching every event listener twice and initializing the dashboard twice.
- _Files: `frontend/status.html`_
-- **Edit-modal tabs fit on phones:** On a 390px viewport the Warranty/Documents/Tags tab buttons were clipped off the edge of the edit modal with no way to reach them except swiping. Below 480px the tab buttons now use tighter padding and hide their icons so all four tabs are visible and tappable.
+- **Edit-modal tabs discoverable on phones:** On a 390px viewport the Warranty/Documents/Tags tab buttons were clipped off the edge of the edit modal with no indication more tabs existed. The tab bar is swipeable, and below 480px its right edge now fades out to hint there's more to swipe to.
- _Files: `frontend/style.css`_
## 1.0.2 - 2025-10-30
diff --git a/frontend/style.css b/frontend/style.css
index 58ba94b..3704ba3 100644
--- a/frontend/style.css
+++ b/frontend/style.css
@@ -3950,12 +3950,10 @@ input.invalid {
}
@media (max-width: 480px) {
- .edit-tab-btn {
- padding: 0.75rem 0.55rem;
- font-size: 0.85rem;
- }
- .edit-tab-btn i {
- display: none;
+ /* Tabs stay swipeable on phones; fade the right edge to hint there's more */
+ .edit-tabs-nav {
+ -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent 100%);
+ mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent 100%);
}
}