Skip to content

Commit db7ef00

Browse files
committed
chat: do not hide hashtag bar in chatroom on skinny screen...
1 parent 6dc05b7 commit db7ef00

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

src/packages/frontend/chat/chat-log.tsx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
useRedux,
1818
useTypedRedux,
1919
} from "@cocalc/frontend/app-framework";
20-
import { Icon, VisibleMDLG } from "@cocalc/frontend/components";
20+
import { Icon } from "@cocalc/frontend/components";
2121
import useVirtuosoScrollHook from "@cocalc/frontend/components/virtuoso-scroll-hook";
2222
import { HashtagBar } from "@cocalc/frontend/editors/task-editor/hashtag-bar";
2323
import {
@@ -147,17 +147,15 @@ export function ChatLog({
147147
return (
148148
<>
149149
{visibleHashtags.size > 0 && (
150-
<VisibleMDLG>
151-
<HashtagBar
152-
actions={{
153-
set_hashtag_state: (tag, state) => {
154-
actions.setHashtagState(tag, state);
155-
},
156-
}}
157-
selected_hashtags={selectedHashtags0}
158-
hashtags={visibleHashtags}
159-
/>
160-
</VisibleMDLG>
150+
<HashtagBar
151+
actions={{
152+
set_hashtag_state: (tag, state) => {
153+
actions.setHashtagState(tag, state);
154+
},
155+
}}
156+
selected_hashtags={selectedHashtags0}
157+
hashtags={visibleHashtags}
158+
/>
161159
)}
162160
{messages != null && (
163161
<NotShowing

0 commit comments

Comments
 (0)