We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59dbc70 commit d329f10Copy full SHA for d329f10
src/packages/frontend/chat/chatroom.tsx
@@ -22,7 +22,7 @@ import {
22
} from "antd";
23
import { debounce } from "lodash";
24
import { FormattedMessage } from "react-intl";
25
-
+import { IS_MOBILE } from "@cocalc/frontend/feature";
26
import { Col, Row, Well } from "@cocalc/frontend/antd-bootstrap";
27
import {
28
React,
@@ -161,6 +161,9 @@ export function ChatPanel({
161
variant = "default",
162
disableFilters: disableFiltersProp,
163
}: ChatPanelProps) {
164
+ if (IS_MOBILE) {
165
+ variant = "compact";
166
+ }
167
const account_id = useTypedRedux("account", "account_id");
168
const [input, setInput] = useState("");
169
const search = getDescValue(desc, "data-search") ?? "";
0 commit comments