chore: update live chat and work server changes

This commit is contained in:
2026-04-26 16:37:06 +09:00
parent 63e5d263a7
commit 20a6333ed2
38 changed files with 2078 additions and 2281 deletions

View File

@@ -55,6 +55,7 @@
flex: 1 1 auto;
flex-direction: column;
min-height: 0;
position: relative;
border-radius: 28px;
overflow: hidden;
border: 1px solid rgba(245, 158, 11, 0.18);
@@ -90,14 +91,20 @@
.text-memo-widget__input.ant-input,
.text-memo-widget__editor .ant-input {
display: block;
flex: 1 1 auto;
width: 100%;
height: 100%;
min-height: 0;
padding: 10px 18px 20px;
padding: 10px 18px 32px;
box-sizing: border-box;
color: #3f3a2f;
font-size: 16px;
line-height: 38px;
background: transparent;
resize: none;
overflow-y: auto;
overscroll-behavior: contain;
}
.text-memo-widget__editor .ant-input::placeholder {

View File

@@ -1,6 +1,7 @@
import { CheckOutlined, DeleteOutlined, EditOutlined, LeftOutlined, PlusOutlined, RightOutlined, UnorderedListOutlined } from '@ant-design/icons';
import { Button, Empty, Input, Modal, message } from 'antd';
import { forwardRef, useEffect, useMemo, useState } from 'react';
import { renderModalWithEnterConfirm } from '../../app/main/modalKeyboard';
import { WidgetShell } from '../core';
import type { WidgetHandle } from '../core';
import './TextMemoWidget.css';
@@ -176,6 +177,8 @@ export const TextMemoWidget = forwardRef<WidgetHandle, TextMemoWidgetProps>(func
: '삭제한 메모는 다시 복구할 수 없습니다.',
okText: '삭제',
cancelText: '취소',
autoFocusButton: 'ok',
modalRender: renderModalWithEnterConfirm,
okButtonProps: { danger: true },
onOk: () => {
if (isDraftOnly) {