Skip to content

Commit 3e7d57b

Browse files
committed
fix(comms): align task and send modals to center
1 parent a26f762 commit 3e7d57b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/openfang-api/static/index_body.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4538,7 +4538,7 @@ <h3 style="color:var(--error)">Connection Error</h3>
45384538
</div>
45394539

45404540
<!-- Send Message Modal -->
4541-
<div x-show="showSendModal" style="position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.5);backdrop-filter:blur(4px)" @click.self="showSendModal=false" x-transition>
4541+
<div style="position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.5);backdrop-filter:blur(4px)" @click.self="showSendModal=false" :style="{ display: showSendModal ? 'flex' : 'none' }" x-transition>
45424542
<div class="card" style="width:420px;max-width:90vw" @click.stop>
45434543
<div class="card-header">Send Agent Message</div>
45444544
<div style="display:flex;flex-direction:column;gap:12px;margin-top:12px">
@@ -4576,7 +4576,7 @@ <h3 style="color:var(--error)">Connection Error</h3>
45764576
</div>
45774577

45784578
<!-- Post Task Modal -->
4579-
<div x-show="showTaskModal" style="position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.5);backdrop-filter:blur(4px)" @click.self="showTaskModal=false" x-transition>
4579+
<div style="position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.5);backdrop-filter:blur(4px)" :style="{ display: showTaskModal ? 'flex' : 'none' }" @click.self="showTaskModal=false" x-transition>
45804580
<div class="card" style="width:420px;max-width:90vw" @click.stop>
45814581
<div class="card-header">Post Task</div>
45824582
<div style="display:flex;flex-direction:column;gap:12px;margin-top:12px">

0 commit comments

Comments
 (0)