diff --git a/web/src/components/PageLayout.js b/web/src/components/PageLayout.js index 59a9ca44..da17f187 100644 --- a/web/src/components/PageLayout.js +++ b/web/src/components/PageLayout.js @@ -109,7 +109,6 @@ const PageLayout = () => { left: 0, top: '56px', zIndex: 99, - background: 'var(--semi-color-bg-1)', border: 'none', paddingRight: '0', height: 'calc(100vh - 56px)', diff --git a/web/src/i18n/locales/en.json b/web/src/i18n/locales/en.json index cd05644e..0be5fcbe 100644 --- a/web/src/i18n/locales/en.json +++ b/web/src/i18n/locales/en.json @@ -1528,5 +1528,6 @@ "豆包": "Doubao", "系统公告": "System Notice", "今日关闭": "Close Today", - "关闭公告": "Close Notice" + "关闭公告": "Close Notice", + "搜索条件": "Search Conditions" } \ No newline at end of file diff --git a/web/src/pages/Detail/index.js b/web/src/pages/Detail/index.js index e7182e3a..bdbee22f 100644 --- a/web/src/pages/Detail/index.js +++ b/web/src/pages/Detail/index.js @@ -26,6 +26,7 @@ import { VChart } from '@visactor/react-vchart'; import { API, isAdmin, + isMobile, showError, timestamp2string, timestamp2string1, @@ -538,14 +539,12 @@ const Detail = (props) => { icon={} onClick={showSearchModal} className="bg-green-500 text-white hover:bg-green-600 !rounded-full" - size="large" /> } onClick={refresh} loading={loading} className="bg-blue-500 text-white hover:bg-blue-600 !rounded-full" - size="large" /> @@ -557,37 +556,40 @@ const Detail = (props) => { onOk={handleSearchConfirm} onCancel={handleCloseModal} closeOnEsc={true} - width={700} + size={isMobile() ? 'full-width' : 'small'} centered >
handleInputChange(value, 'start_timestamp')} /> handleInputChange(value, 'end_timestamp')} /> { handleInputChange(value, 'username')} /> )}