Stabilize BB iframe width

This commit is contained in:
Scott Idem
2026-05-01 18:41:13 -04:00
parent 89c05cc323
commit cc5a6887c0
2 changed files with 3 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ $effect(() => {
<section <section
bind:clientHeight={$ae_loc.iframe_height_modal_body} bind:clientHeight={$ae_loc.iframe_height_modal_body}
class="svelte_component ae_section ae_view post_obj view__post_obj space-y-2"> class="svelte_component ae_section ae_view post_obj view__post_obj w-full min-w-full space-y-2">
<!-- <div class="post__header"> <!-- <div class="post__header">
<h2 class="post__title flex flex-row gap-2 items-center h3"> <h2 class="post__title flex flex-row gap-2 items-center h3">
<span class=""> <span class="">
@@ -65,7 +65,7 @@ $effect(() => {
<!-- <pre class="post__content p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal whitespace-pre-wrap">{@html $lq__post_obj?.content}</pre> --> <!-- <pre class="post__content p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal whitespace-pre-wrap">{@html $lq__post_obj?.content}</pre> -->
<div <div
class="post__content reset_css rounded-lg bg-white p-2 text-sm font-normal text-wrap shadow-md"> class="post__content reset_css w-full rounded-lg bg-white p-2 text-sm font-normal text-wrap shadow-md">
{@html $lq__post_obj?.content} {@html $lq__post_obj?.content}
</div> </div>

View File

@@ -332,6 +332,7 @@ $effect(() => {
bind:this={box} bind:this={box}
onscroll={parse_scroll} onscroll={parse_scroll}
class:iframe={$ae_loc?.iframe} class:iframe={$ae_loc?.iframe}
style="scrollbar-gutter: stable;"
class=" class="
ae_idaa ae_idaa
m-auto flex h-full max-h-fit m-auto flex h-full max-h-fit