From 14368e8a09c4b5793d0975f85e36a4c1d410ca36 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 16 五月 2025 17:27:24 +0800 Subject: [PATCH] feat: UI --- packages/components/src/styles/components.scss | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/packages/components/src/styles/components.scss b/packages/components/src/styles/components.scss index 30e1569..0a06f6d 100644 --- a/packages/components/src/styles/components.scss +++ b/packages/components/src/styles/components.scss @@ -245,3 +245,48 @@ } } } + +.preview-image-wrapper { + width: 100%; + height: 100%; + overflow: hidden; +} + +.auto-width-image-wrapper { + width: auto !important; + height: auto !important; +} + +.rich-edit-content { + .rich-content-item { + margin-bottom: 10px; + + &:last-child { + margin-bottom: 0; + } + } + + .rich-content-image-item { + display: block; + } + + .rich-content-text-item { + word-break: break-all; + white-space: pre-line; + font-size: 30px; + line-height: 50px; + color: boleGetCssVar('text-color', 'primary'); + } + + .rich-content-video-item { + width: 100%; + height: 300px; + } + + &.small { + .rich-content-text-item { + font-size: 24px; + line-height: 36px; + } + } +} -- Gitblit v1.9.1