Repository navigation
Restore the Ritz Champagne top, equal segments under 340px, amount column widths, side safe-area insets, storage event listener - #98
Merged
Conversation
…lumn widths, side safe-area insets, storage event listener data/cocktails.json: ritz is Q,h,q,q,3,2,cfo, method shaken, with 2 oz Champagne as the last pour; taste rewritten and one history sentence added; the entry moves into the shaken cognac section. kin.json (Ritz now Sparkling), llms.txt, llms-full.txt, 11 drink pages, sitemap.xml and assets/cards/ritz.png regenerated. app.css: under 340px wide .seg--wide .seg__b tracking is .05em so the five segments are equal width; the stale Families comment now says Shapes. .pour amount column is 84px on screen and 54pt in print, eleven DM Mono advances for 2 barspoons. --pad is max(20px, env(safe-area-inset-left), env(safe-area-inset-right)) and .tabbar takes the side insets as padding-inline. app.js: a storage listener added after boot reloads the five stores, re-applies print flags, drops Undo when the shelf or brands changed, and repaints through afterShelf; it never saves. loadPrintOpts reads a missing store as the defaults. Closes #85. Closes #94. Closes #95. Closes #96. Closes #97.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
#85 Ritz, option B.
data/cocktails.json: codeQ,h,q,q,3,2,cfo, methodshaken, 2 oz Champagne as the last pour, same spelling as the French 75. Taste line rewritten; one history sentence says the top was restored. The entry moves into the shaken cognac section. Regenerated:kin.json(Ritz files under Sparkling),llms.txt,llms-full.txt, 11 drink pages,sitemap.xml,assets/cards/ritz.png.#94 Segments under 340px. On
mainthe row no longer overflows at 320px (the fifth segment is Shapes now), but flex gave five unequal buttons and STIRRED and SHAKEN touched their rules.@media (max-width: 339px)sets.seg--wide .seg__btracking to.05em: equal widths, 2.9px spare on STIRRED. 375 and 390px unchanged.#95 Amount column.
2 barspoonswas 82.5px in a 74px column on screen and 70.4px in a 69.3px column on paper..pouris now84px 1fr,.print-card .pouris54pt 1fr, both sized to eleven DM Mono advances at the amount's font size.#96 Side safe-area insets.
--pad: max(20px, env(safe-area-inset-left), env(safe-area-inset-right)), and.tabbartakes the side insets aspadding-inline. With no inset the padding is 20px as before.#97 Storage event.
storesChangedis added after boot: it ignores keys outside the five stores, reloads them, re-applies print flags, runssyncHaveFromBrands, drops Undo when the shelf or brands changed, and repaints throughafterShelf(true). It never saves.loadPrintOptsreads a missing store as the defaults, so alocalStorage.clear()in another tab resets the print ticks.Size: app.css +23/−6, app.js +26/−2, cocktails.json +8/−8; the rest is generated.
Checked
make verifypasses.clear()resets both; unrelated keys do not repaint; nothing is written back; a frame on a?s=link stays on Shared menu while My Shelf updates underneath.Not checked
The Ritz recipe prints
Shake hard with ice, then strain.with Champagne among the pours, which is the same wording the French 75 already has.Closes #85. Closes #94. Closes #95. Closes #96. Closes #97.