From 13c5da63d7432607bda2af1dd2c3d3d0a5874fa6 Mon Sep 17 00:00:00 2001
From: Mar0xy <marie@kaifa.ch>
Date: Sun, 22 Oct 2023 22:48:49 +0200
Subject: fix: MFM overflowing out of note

Closes transfem-org/Sharkey#104
---
 packages/frontend/src/components/MkNoteSimple.vue | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'packages/frontend/src/components/MkNoteSimple.vue')

diff --git a/packages/frontend/src/components/MkNoteSimple.vue b/packages/frontend/src/components/MkNoteSimple.vue
index 4f93b02b73..5bcbd62f1f 100644
--- a/packages/frontend/src/components/MkNoteSimple.vue
+++ b/packages/frontend/src/components/MkNoteSimple.vue
@@ -69,6 +69,7 @@ watch(() => props.expandAllCws, (expandAllCws) => {
 
 .header {
 	margin-bottom: 2px;
+	z-index: 2;
 }
 
 .cw {
@@ -77,12 +78,14 @@ watch(() => props.expandAllCws, (expandAllCws) => {
 	margin: 0;
 	padding: 0;
 	overflow-wrap: break-word;
+	overflow: hidden;
 }
 
 .text {
 	cursor: default;
 	margin: 0;
 	padding: 0;
+	overflow: hidden;
 }
 
 @container (min-width: 250px) {
-- 
cgit v1.2.3-freya

