Skip to content

Preview UI update#134

Open
paulo-valim wants to merge 2 commits into
hexpm:mainfrom
paulo-valim:main
Open

Preview UI update#134
paulo-valim wants to merge 2 commits into
hexpm:mainfrom
paulo-valim:main

Conversation

@paulo-valim
Copy link
Copy Markdown

No description provided.

paulo-valim and others added 2 commits May 15, 2026 23:44
- preview_live.html.heex: drop `trim: true` so gutter lines match
  rendered code lines (regression: `"a\n\nb\n"` was counting 2 instead
  of 4).
- preview_web.ex: remove dead `Phoenix.LiveView.Helpers` import — those
  helpers moved to `Phoenix.Component` in LiveView 1.0.
- theme.js: drop unreachable `closest("[data-theme-toggle]")` branch in
  `closeAllMenus`; the menu is a sibling of the toggle, not a descendant.
- app.html.heex: remove redundant `role="main"` on `<main>`.
- Run `mix format` on HEEx/component files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants