Skip to content
Snippets Groups Projects
Commit b05cfe4a authored by syuilo's avatar syuilo
Browse files

enhance(client): improve note preview

Fix #8029
parent 322b64c0
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
## 12.x.x (unreleased) ## 12.x.x (unreleased)
### Improvements ### Improvements
- クライアント: ノートプレビューの精度を改善
### Bugfixes ### Bugfixes
- クライアント: 一部のコンポーネントが裏に隠れるのを修正 - クライアント: 一部のコンポーネントが裏に隠れるのを修正
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
<div class="body"> <div class="body">
<div class="content"> <div class="content">
<Mfm :text="text" :author="$i" :i="$i"/> <Mfm :text="text.trim()" :author="$i" :i="$i"/>
</div> </div>
</div> </div>
</div> </div>
...@@ -61,6 +61,7 @@ export default defineComponent({ ...@@ -61,6 +61,7 @@ export default defineComponent({
width: 40px; width: 40px;
height: 40px; height: 40px;
border-radius: 8px; border-radius: 8px;
pointer-events: none;
} }
> .main { > .main {
...@@ -69,6 +70,7 @@ export default defineComponent({ ...@@ -69,6 +70,7 @@ export default defineComponent({
> .header { > .header {
margin-bottom: 2px; margin-bottom: 2px;
font-weight: bold;
} }
> .body { > .body {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment