fix: comment expand causes cut off content (#586)
This commit is contained in:
1 parent
79d80e636d
commit
02b4c72233
1 file changed
+3
-2
@@ -210,8 +210,8 @@
|
|||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
{/if}
|
{/if}
|
||||||
<div class={['expand', open && 'open', contentClass]}>
|
<div class={['expand w-full', open && 'open', contentClass]}>
|
||||||
<div id="comment-content">
|
<div id="comment-content w-full">
|
||||||
<div
|
<div
|
||||||
class="flex flex-col whitespace-pre-wrap
|
class="flex flex-col whitespace-pre-wrap
|
||||||
max-w-full gap-1 mt-1 relative"
|
max-w-full gap-1 mt-1 relative"
|
||||||
@@ -241,6 +241,7 @@
|
|||||||
.expand {
|
.expand {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: 0fr;
|
grid-template-rows: 0fr;
|
||||||
|
grid-template-columns: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: grid-template-rows 0.5s cubic-bezier(0.19, 1, 0.22, 1);
|
transition: grid-template-rows 0.5s cubic-bezier(0.19, 1, 0.22, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user