diff --git a/src/components/Well.jsx b/src/components/Well.jsx index ee45576..64e6ecc 100644 --- a/src/components/Well.jsx +++ b/src/components/Well.jsx @@ -17,7 +17,7 @@ export default function Well() { }> diff --git a/src/pages/Messages.jsx b/src/pages/Messages.jsx index 2a8ee81..188acc4 100644 --- a/src/pages/Messages.jsx +++ b/src/pages/Messages.jsx @@ -1,4 +1,4 @@ -import {Button, Table, Select, DatePicker, ConfigProvider} from 'antd'; +import {Table, Select, DatePicker, ConfigProvider} from 'antd'; import {MessageService} from '../services/api' import {useState, useEffect} from 'react' import {useParams} from 'react-router-dom' @@ -57,7 +57,7 @@ export default function Messages() { let {id} = useParams() const [messages, setMessages] = useState([]) const [pagination, setPagination] = useState(null) - const [page, setPage] = useState(1) + const [page, setPage] = useState(1) const [range, setRange] = useState([]) const [categories, setCategories] = useState([]) @@ -70,12 +70,12 @@ export default function Messages() { setRange(range) } - const GetMessages = async() => { + const GetMessages = async () => { setLoader(true) try { let begin = null let end = null - if(range?.length>1){ + if (range?.length > 1) { begin = range[0].toISOString() end = range[1].toISOString() } @@ -110,25 +110,25 @@ export default function Messages() { return ( <> -

Сообщения

-
-

Фильтр сообщений

- - - - +
+

Фильтр сообщений

+ + + + +
tr > td {*/ -/* padding: 0;*/ -/*}*/ - -/*.ant-table-tbody > tr > td {*/ -/* border-bottom: 0.5px;*/ -/*}*/ - .event_message > td { font-size: 14px; padding: 1px !important; @@ -37,6 +29,15 @@ background: #505060; } +.filter-group { + margin: 0 0 5px 0; +} + +.filter-group__heading { + margin: 5px auto; + align-items: center; +} + td.ant-table-column-sort { color: black; background-color: rgb(221, 247, 221);