@@ -166,6 +166,9 @@ func (p *chatPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
166166 p.keyboardEnhancements = msg
167167 return p, nil
168168 case tea.MouseWheelMsg:
169+ if p.compact {
170+ msg.Y -= 1
171+ }
169172 if p.isMouseOverChat(msg.X, msg.Y) {
170173 u, cmd := p.chat.Update(msg)
171174 p.chat = u.(chat.MessageListCmp)
@@ -173,6 +176,9 @@ func (p *chatPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
173176 }
174177 return p, nil
175178 case tea.MouseClickMsg:
179+ if p.compact {
180+ msg.Y -= 1
181+ }
176182 if p.isMouseOverChat(msg.X, msg.Y) {
177183 p.focusedPane = PanelTypeChat
178184 p.chat.Focus()
@@ -186,6 +192,9 @@ func (p *chatPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
186192 p.chat = u.(chat.MessageListCmp)
187193 return p, cmd
188194 case tea.MouseMotionMsg:
195+ if p.compact {
196+ msg.Y -= 1
197+ }
189198 if msg.Button == tea.MouseLeft {
190199 u, cmd := p.chat.Update(msg)
191200 p.chat = u.(chat.MessageListCmp)
@@ -193,6 +202,9 @@ func (p *chatPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
193202 }
194203 return p, nil
195204 case tea.MouseReleaseMsg:
205+ if p.compact {
206+ msg.Y -= 1
207+ }
196208 if msg.Button == tea.MouseLeft {
197209 u, cmd := p.chat.Update(msg)
198210 p.chat = u.(chat.MessageListCmp)