From 7b366c93b03a86804dcde9509b10deae549115af Mon Sep 17 00:00:00 2001 From: Mike Sawka Date: Fri, 24 Jan 2025 15:56:49 -0800 Subject: [PATCH] fix markdown padding (#1848) --- docs/docs/releasenotes.mdx | 3 ++- frontend/app/element/markdown.scss | 1 - frontend/app/view/preview/preview.scss | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/docs/releasenotes.mdx b/docs/docs/releasenotes.mdx index 2bc1d2a62..ee4a39e41 100644 --- a/docs/docs/releasenotes.mdx +++ b/docs/docs/releasenotes.mdx @@ -33,7 +33,7 @@ Behind the scenes, we've redesigned our remote file protocol, laying the groundw - Custom widgets can now be launched in magnified mode - Various workspace UX improvements around closing/deleting - file:/// urls now work in web widget -- Increased size of files allowed in `wsh ai` +- Increased max size of files allowed in `wsh ai` to 50k - Increased maximum allowed term:scrollback to 50k lines - [build] Switched to free Ubuntu ARM runners for better ARM64 build support - [build] Windows builds now use zig, simplifying Windows dev setup @@ -47,6 +47,7 @@ Behind the scenes, we've redesigned our remote file protocol, laying the groundw - [bugfix] Fix preview for large text files - [bugfix] Fix URLs in terminal (now clickable again) - [bugfix] Windows URLs now work properly for Wave background images +- Other bug fixes, performance improvements, and dependency updates ### v0.10.4 — Dec 20, 2024 diff --git a/frontend/app/element/markdown.scss b/frontend/app/element/markdown.scss index ae08ba78a..b49cdccfd 100644 --- a/frontend/app/element/markdown.scss +++ b/frontend/app/element/markdown.scss @@ -19,7 +19,6 @@ font-family: var(--markdown-font-family); font-size: var(--markdown-font-size); overflow-wrap: break-word; - padding: 5px 15px 10px 15px; &.non-scrollable { overflow: hidden; diff --git a/frontend/app/view/preview/preview.scss b/frontend/app/view/preview/preview.scss index 934a3315b..d6e8bec12 100644 --- a/frontend/app/view/preview/preview.scss +++ b/frontend/app/view/preview/preview.scss @@ -13,6 +13,10 @@ align-items: start; justify-content: start; overflow: auto; + + .markdown .content { + padding: 5px 15px 10px 15px; + } } &.view-preview-text {