Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c7aca2c

Browse files
Merge branch 'fix_assistant_footer' into 'master'
fix: Prevent returning footer on Assistant page on mobile See merge request postgres-ai/database-lab!933
2 parents 20177fd + b6d3b07 commit c7aca2c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

‎ui/packages/platform/src/pages/Bot/Command/Command.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,6 @@ export const Command = React.memo((props: Props) => {
135135
top: 0,
136136
behavior: 'smooth'
137137
})
138-
const footer: HTMLElement | null = document.querySelector("footer")
139-
if (footer) footer.style.display = 'flex';
140-
}
141-
}
142-
143-
const handleFocus = () => {
144-
if ((window.innerWidth < theme.breakpoints.values.sm) && isMobile) {
145-
const footer: HTMLElement | null = document.querySelector("footer")
146-
if (footer) footer.style.display = 'none';
147138
}
148139
}
149140

@@ -205,7 +196,6 @@ export const Command = React.memo((props: Props) => {
205196
onKeyDown={handleKeyDown}
206197
onChange={handleChange}
207198
onBlur={handleBlur}
208-
onFocus={handleFocus}
209199
InputProps={{
210200
inputRef,
211201
classes: {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /