@aurora-foundation/obsidian-next 0.4.11 → 0.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.4.12] - 2026-02-14
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Message Overlapping**: Fixed critical bug where messages rendered on top of each other when viewport filled up. Removed dynamic `justifyContent` switching that was causing Ink's layout engine to break. Now uses consistent `flex-end` for proper chat-style bottom-anchored layout.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
8
15
|
## [0.4.11] - 2026-02-14
|
|
9
16
|
|
|
10
17
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -6034,6 +6034,7 @@ var Root = () => {
|
|
|
6034
6034
|
const BANNER_HEIGHT = 6;
|
|
6035
6035
|
const INPUT_AREA_HEIGHT = 6;
|
|
6036
6036
|
const dynamicMaxEvents = Math.max(5, rows - (BANNER_HEIGHT + INPUT_AREA_HEIGHT));
|
|
6037
|
+
const contentHeight = rows - BANNER_HEIGHT - INPUT_AREA_HEIGHT;
|
|
6037
6038
|
useEffect23(() => {
|
|
6038
6039
|
if (!stdout) return;
|
|
6039
6040
|
const onResize = () => {
|
|
@@ -6554,9 +6555,8 @@ var Root = () => {
|
|
|
6554
6555
|
Box33,
|
|
6555
6556
|
{
|
|
6556
6557
|
flexDirection: "column",
|
|
6557
|
-
flexGrow: 1,
|
|
6558
|
+
flexGrow: activeView !== "chat" ? 1 : 0,
|
|
6558
6559
|
overflowY: "hidden",
|
|
6559
|
-
justifyContent: events.length > dynamicMaxEvents ? "flex-end" : "flex-start",
|
|
6560
6560
|
children: activeView === "chat" ? /* @__PURE__ */ jsx33(
|
|
6561
6561
|
MessageList,
|
|
6562
6562
|
{
|