Skip to content

Commit bd3a801

Browse files
authored
Hide feedback widget on small screens (#141)
Since the feedback widget is stickied to the bottom of the screen, on small viewports it can end up taking up a *lot* of real estate. Enough so that on mobile devices (or when very zoomed), the app becomes totally unusable. It's still rough even with the feedback widget hidden, but it's not nearly as much so.
1 parent 052dd63 commit bd3a801

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

client/src/routes/Root.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ export default function Root() {
107107
</div>
108108
</div>
109109
</div>
110-
<feedback-widget show-comment-disclaimer="false" skip-email-step="true" />
110+
{/* For small screens, the widget blocks too much content, so hide then */}
111+
<div className="hidden md:block">
112+
<feedback-widget show-comment-disclaimer="false" skip-email-step="true" />
113+
</div>
111114
</div>
112115
</PromptGroupsProvider>
113116
</AgentsMapContext.Provider>

0 commit comments

Comments
 (0)