diff --git a/web-app/index.html b/web-app/index.html
index fc264d096..f59835ecb 100644
--- a/web-app/index.html
+++ b/web-app/index.html
@@ -1,11 +1,24 @@
-
+
{
@@ -207,7 +207,7 @@ const LeftPanel = () => {
isResizableContext && 'h-full w-full',
// Small screen context: fixed positioning and styling
isSmallScreen &&
- 'fixed h-[calc(100%-16px)] bg-app z-50 rounded-sm border border-left-panel-fg/10 m-2 px-1 w-48',
+ 'fixed h-full pb-[calc(env(safe-area-inset-bottom)+env(safe-area-inset-top))] bg-main-view z-50 md:border border-left-panel-fg/10 px-1 w-full md:w-48',
// Default context: original styling
!isResizableContext &&
!isSmallScreen &&
@@ -266,7 +266,8 @@ const LeftPanel = () => {
0 || localDownloadingModels.size > 0
+ Object.keys(downloads).length > 0 ||
+ localDownloadingModels.size > 0
? 'h-[calc(100%-200px)]'
: 'h-[calc(100%-140px)]'
)}
@@ -379,7 +380,9 @@ const LeftPanel = () => {
-
+
diff --git a/web-app/src/containers/SettingsMenu.tsx b/web-app/src/containers/SettingsMenu.tsx
index da0e94870..78389233d 100644
--- a/web-app/src/containers/SettingsMenu.tsx
+++ b/web-app/src/containers/SettingsMenu.tsx
@@ -30,12 +30,15 @@ const SettingsMenu = () => {
// On web: exclude llamacpp provider as it's not available
const activeProviders = providers.filter((provider) => {
if (!provider.active) return false
-
+
// On web version, hide llamacpp provider
- if (!PlatformFeatures[PlatformFeature.LOCAL_INFERENCE] && provider.provider === 'llama.cpp') {
+ if (
+ !PlatformFeatures[PlatformFeature.LOCAL_INFERENCE] &&
+ provider.provider === 'llama.cpp'
+ ) {
return false
}
-
+
return true
})
@@ -92,7 +95,7 @@ const SettingsMenu = () => {
title: 'common:keyboardShortcuts',
route: route.settings.shortcuts,
hasSubMenu: false,
- isEnabled: true,
+ isEnabled: PlatformFeatures[PlatformFeature.SHORTCUT],
},
{
title: 'common:hardware',
@@ -137,7 +140,7 @@ const SettingsMenu = () => {
return (
<>