fix comment-tab
This commit is contained in:
@ -1,3 +1,3 @@
|
|||||||
<!-- OAuth Comment System - Load globally for session management -->
|
<!-- OAuth Comment System - Load globally for session management -->
|
||||||
<script type="module" crossorigin src="/assets/comment-atproto-C2nhj09r.js"></script>
|
<script type="module" crossorigin src="/assets/comment-atproto-mfW-OeY_.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-6vwaM28e.css">
|
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-Cm5qR-aM.css">
|
@ -262,8 +262,8 @@ function setupAskAIEventListeners() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Enter key to send message
|
// Enter key to send message (only when not composing Japanese input)
|
||||||
if (e.key === 'Enter' && e.target.id === 'aiQuestion' && !e.shiftKey) {
|
if (e.key === 'Enter' && e.target.id === 'aiQuestion' && !e.shiftKey && !e.isComposing) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
askQuestion();
|
askQuestion();
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<!-- OAuth Comment System - Load globally for session management -->
|
<!-- OAuth Comment System - Load globally for session management -->
|
||||||
<script type="module" crossorigin src="/assets/comment-atproto-C2nhj09r.js"></script>
|
<script type="module" crossorigin src="/assets/comment-atproto-mfW-OeY_.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-6vwaM28e.css">
|
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-Cm5qR-aM.css">
|
@ -909,4 +909,8 @@
|
|||||||
padding: 40px 20px;
|
padding: 40px 20px;
|
||||||
color: #656d76;
|
color: #656d76;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat-message.comment-style {
|
||||||
|
border-left: 4px solid var(--theme-color);
|
||||||
}
|
}
|
@ -1493,10 +1493,9 @@ function App() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Comment Form - Only show on post pages */}
|
{/* Comment Form - Only show on post pages when Comments tab is active */}
|
||||||
{user && appConfig.rkey && (
|
{user && appConfig.rkey && activeTab === 'comments' && (
|
||||||
<div className="comment-form">
|
<div className="comment-form">
|
||||||
<h3>Post a Comment</h3>
|
|
||||||
<textarea
|
<textarea
|
||||||
id="comment-text"
|
id="comment-text"
|
||||||
name="commentText"
|
name="commentText"
|
||||||
|
Reference in New Issue
Block a user