callumalpass_tasknotes/docs/releases/4.0.3.md
callumalpass e26c7bd7cb Fix: Task embeds appearing on new line instead of inline with bullets (#1157)
Task embeds (inline task link widgets) were wrapping to a new line instead
of appearing inline with bullet points in lists, particularly when the task
card was wider than the editor screen.

Changes:
- Changed inline task cards to use <span> elements instead of <div> for
  proper inline flow in CodeMirror's rendering context
- Added max-width: calc(100% - 40px) to prevent wrapping to new line
- Added explicit inline display styles to wrapper and child containers
- Strengthened CSS with !important and vertical-align: baseline

The fix ensures task embeds display correctly inline with bullets during
live preview/editing mode, even when they contain multiple metadata properties.

Fixes #1157
2025-11-20 08:09:07 +11:00

964 B

TaskNotes 4.0.3

Fixed

  • (#1157) Fixed task embeds appearing on new line instead of inline with bullets in lists
    • Changed inline task cards to use span elements instead of divs for proper inline flow
    • Added max-width constraint to prevent wrapping when tasks are wider than editor
    • Task embeds now display correctly inline with bullet points during live preview
    • Thanks to @3zra47 for reporting
  • (#1168) Fixed mini calendar stealing focus every few seconds when pinned to sidebar
    • Thanks to @DearHaruHaru for reporting
  • (#1161, #1162) Fixed "unexpected scalar" YAML parsing error in generated tasks-default.base template
    • Changed nested quotes in "Not Blocked" filter from double to single quotes
    • Thanks to @benschifman and @InterstellarRaccoon for reporting, @GarrettKaupp for identifying the fix

Changed

  • Updated task modal UI to use native Obsidian patterns for better theme compatibility
    • Thanks to @kepano for feedback