From 9453bef1fc4a3121b28ffa6617f0fbfc81d9f634 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 19 五月 2025 17:35:11 +0800
Subject: [PATCH] fix: 修改首页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