This is an automated email from the ASF dual-hosted git repository. shuai pushed a commit to branch test in repository https://gitbox.apache.org/repos/asf/answer.git
commit 0376a00d736763e67d5a80640c2c9ba08cde52bd Author: shuai <lishuail...@sifou.com> AuthorDate: Tue Aug 19 11:20:55 2025 +0800 fix: responsive layout adjustment --- ui/src/pages/SideNavLayout/index.tsx | 2 +- ui/src/plugins/index.ts | 21 +++++++++++++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ui/src/pages/SideNavLayout/index.tsx b/ui/src/pages/SideNavLayout/index.tsx index 90f3f3b1..88111ab0 100644 --- a/ui/src/pages/SideNavLayout/index.tsx +++ b/ui/src/pages/SideNavLayout/index.tsx @@ -28,7 +28,7 @@ const Index: FC = () => { return ( <div className="d-flex"> <div - className="position-sticky px-3 border-end pt-4 d-none d-xl-block" + className="position-sticky px-3 border-end pt-4 d-none d-lg-block" id="pcSideNav"> <SideNav /> </div> diff --git a/ui/src/plugins/index.ts b/ui/src/plugins/index.ts index eac762ef..3100dcf1 100644 --- a/ui/src/plugins/index.ts +++ b/ui/src/plugins/index.ts @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ -const loadQuickLinks = () => import('quick-links').then(module => module.default); -export const quick_links = loadQuickLinks \ No newline at end of file +export default null; \ No newline at end of file