ssr: BUG fix
This commit is contained in:
parent
15bc2d5013
commit
8c4e97c6f1
|
@ -38,7 +38,7 @@ const mainPageWidth = computed(() => {
|
||||||
|
|
||||||
.content-container {
|
.content-container {
|
||||||
width: v-bind(mainPageWidth);
|
width: v-bind(mainPageWidth);
|
||||||
transition: all 0.2s;
|
transition: width 0.2s;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -48,7 +48,6 @@ const getRepliesCount = computed(() => {
|
||||||
<span>{{ title }}</span>
|
<span>{{ title }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Topic status, likes, etc. -->
|
|
||||||
<div class="status">
|
<div class="status">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
@ -64,7 +63,6 @@ const getRepliesCount = computed(() => {
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<!-- Publication date of the topic -->
|
|
||||||
<div class="time">
|
<div class="time">
|
||||||
<span>
|
<span>
|
||||||
{{
|
{{
|
||||||
|
@ -78,7 +76,6 @@ const getRepliesCount = computed(() => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Preview introduction of the topic -->
|
|
||||||
<div class="introduction">
|
<div class="introduction">
|
||||||
<p>
|
<p>
|
||||||
{{ plainText }}
|
{{ plainText }}
|
||||||
|
|
|
@ -47,14 +47,13 @@ const handleClosePanel = async () => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Teleport to="body" :disabled="isEdit">
|
<Teleport to="#teleported" :disabled="isEdit">
|
||||||
<Transition
|
<Transition
|
||||||
enter-active-class="animate__animated animate__fadeInUp animate__faster"
|
enter-active-class="animate__animated animate__fadeInUp animate__faster"
|
||||||
leave-active-class="animate__animated animate__fadeOutDown animate__faster"
|
leave-active-class="animate__animated animate__fadeOutDown animate__faster"
|
||||||
>
|
>
|
||||||
<div class="root" v-if="isEdit">
|
<div class="root" v-if="isEdit">
|
||||||
<div class="container" :style="`width: ${panelWidth}`">
|
<div class="container" :style="`width: ${panelWidth}`">
|
||||||
<!-- Reply panel - reply to whom -->
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h3>
|
<h3>
|
||||||
<span>{{ $tm('topic.panel.to') + ' @' }}</span>
|
<span>{{ $tm('topic.panel.to') + ' @' }}</span>
|
||||||
|
@ -71,12 +70,10 @@ const handleClosePanel = async () => {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Reply editor -->
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<MilkdownEditor :is-show-menu="isShowAdvance" />
|
<MilkdownEditor :is-show-menu="isShowAdvance" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Reply footer -->
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<Tags
|
<Tags
|
||||||
style="margin-top: 10px; padding: 10px"
|
style="margin-top: 10px; padding: 10px"
|
||||||
|
|
Loading…
Reference in a new issue