revert(ui): drop the Samsung Internet install notice
The banner is not wanted on the page. Remove ui/install-tip.js, its container in index.html, the startup call, the .notice styles and the PRECACHE entry; keep the documented fact (install from Chrome) in AGENTS.md/README instead. VERSION 2026.11.24.7. Verified with a SamsungBrowser UA at 360px: no banner, no .notice nodes, hero follows the header, installabilityErrors [].
This commit is contained in:
1 parent
2edbc39805
commit
aead0bb6e5
8 files changed
+4
-146
No files matched your search
@@ -473,40 +473,6 @@ select {
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------- notice (คำแนะนำ) */
|
||||
.notice {
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
margin-block: var(--space-4);
|
||||
padding: var(--space-4);
|
||||
border: 1px solid var(--border-strong);
|
||||
border-inline-start: 4px solid var(--brand-600);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--brand-50);
|
||||
color: var(--foreground);
|
||||
font-size: 14.5px;
|
||||
}
|
||||
.notice__body {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
.notice__title {
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
color: var(--brand-800);
|
||||
}
|
||||
.notice__text {
|
||||
margin: 0;
|
||||
max-width: 62ch;
|
||||
color: var(--muted-foreground);
|
||||
}
|
||||
.notice__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-2);
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------- หน้า legal/ข้อมูล */
|
||||
.crumbs {
|
||||
display: flex;
|
||||
@@ -555,8 +521,3 @@ select {
|
||||
.site-footer__links a {
|
||||
color: var(--brand-700);
|
||||
}
|
||||
|
||||
/* ปุ่มในแถบคำแนะนำต้องกดง่ายบนมือถือ (≥44px) */
|
||||
.notice__actions .btn {
|
||||
min-height: 44px;
|
||||
}
|
||||
Reference in new issue
Block a user