+ {loadingComments[room.id] &&
Loading comments...
}
+
{user ? (
user.comments_disabled ? (
Comments are disabled for your account.
@@ -208,14 +331,30 @@ export default function RoomsPage() {
onChange={(e) => setDraft(e.target.value)}
placeholder="Share your thoughts about this room..."
rows={3}
- style={{ padding: '0.75rem', borderRadius: '10px', border: '1px solid rgba(1,13,30,0.18)', fontFamily: 'inherit', fontSize: '14px' }}
+ style={{
+ padding: '0.75rem',
+ borderRadius: '10px',
+ border: '1px solid rgba(1,13,30,0.18)',
+ fontFamily: 'inherit',
+ fontSize: '14px',
+ resize: 'vertical',
+ }}
/>
Posting as {user.first_name || user.username}
@@ -236,7 +375,9 @@ export default function RoomsPage() {
{c.first_name}{c.last_initial ? ` ${c.last_initial}.` : ''}
- {new Date(c.created_at).toLocaleDateString()}
+
+ {new Date(c.created_at).toLocaleDateString()}
+
{c.text}
{user?.role === 'admin' && (