One-card tarot readings pass validation; free-tools row fits on phones
- The answer check wanted two items in every list, so the one-card daily reading always failed ($.cards: too few items). Two items are now asked only of string lists; other lists must not be empty. - The visitors' header row (Ingyenes · Születési horoszkóp · Csillagjegyek) overflowed and scrolled sideways below 412 px; it fits down to 320 px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -977,9 +977,19 @@ a.pair-row:hover strong { color: var(--gold); }
|
||||
.lp-nav { display: none; }
|
||||
/* On phones the free tools get their own row under the logo. */
|
||||
.lp-header { flex-wrap: wrap; row-gap: 4px; }
|
||||
.lp-free { order: 3; flex-basis: 100%; padding-left: 0; border-left: 0; overflow-x: auto; scrollbar-width: none; }
|
||||
.lp-free { order: 3; flex-basis: 100%; padding-left: 0; border-left: 0; overflow-x: auto; scrollbar-width: none; gap: 0; }
|
||||
.lp-free a { padding: 10px 7px; }
|
||||
.lp-free-label { margin-right: 4px; }
|
||||
.lp-header > .btn { margin-left: auto; }
|
||||
}
|
||||
/* The free-tools row fits on narrow phones too, without sideways scrolling */
|
||||
@media (max-width: 380px) {
|
||||
.lp-free a { font-size: 14px; padding: 10px 5px; }
|
||||
.lp-free-label { font-size: 10px; padding: 2px 6px; letter-spacing: 0.5px; }
|
||||
}
|
||||
@media (max-width: 350px) {
|
||||
.lp-free-label { display: none; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.lp *, .lp-orbit { animation: none !important; }
|
||||
.lp-rise, .lp-wheel .w-point { opacity: 1; transform: none; }
|
||||
|
||||
Reference in New Issue
Block a user