diff --git a/joi/src/core/Tabs/styles.scss b/joi/src/core/Tabs/styles.scss index ce3df013b2..932b8431af 100644 --- a/joi/src/core/Tabs/styles.scss +++ b/joi/src/core/Tabs/styles.scss @@ -35,6 +35,7 @@ flex: 1; height: 38px; display: flex; + white-space: nowrap; color: hsla(var(--text-secondary)); align-items: center; justify-content: center; diff --git a/web/screens/Hub/index.tsx b/web/screens/Hub/index.tsx index 37adb717c7..8148a6bb5c 100644 --- a/web/screens/Hub/index.tsx +++ b/web/screens/Hub/index.tsx @@ -96,17 +96,19 @@ const HubScreen = () => { {!filteredModels.length ? ( ) : ( -
- { + setSortSelected(value) + }} + options={sortMenus} + /> +
+ + )} - diff --git a/web/screens/LocalServer/LocalServerLeftPanel/index.tsx b/web/screens/LocalServer/LocalServerLeftPanel/index.tsx index ef2c2d76c5..6f5de80ecd 100644 --- a/web/screens/LocalServer/LocalServerLeftPanel/index.tsx +++ b/web/screens/LocalServer/LocalServerLeftPanel/index.tsx @@ -127,9 +127,10 @@ const LocalServerLeftPanel = () => { {serverEnabled ? 'Stop' : 'Start'} Server {serverEnabled && ( - )} diff --git a/web/screens/Settings/Advanced/index.tsx b/web/screens/Settings/Advanced/index.tsx index 2c444371a8..bbfe7274cd 100644 --- a/web/screens/Settings/Advanced/index.tsx +++ b/web/screens/Settings/Advanced/index.tsx @@ -211,9 +211,6 @@ const Advanced = () => { saveSettings({ gpusInUse: updatedGpusInUse }) } - const gpuSelectionPlaceHolder = - gpuList.length > 0 ? 'Select GPU' : "You don't have any compatible GPU" - /** * Handle click outside */ @@ -240,7 +237,7 @@ const Advanced = () => { {/* CPU / GPU switching */} - {!isMac && ( + {!isMac && gpuList.length > 0 && (
@@ -326,7 +323,7 @@ const Advanced = () => { value={selectedGpu.join() || ''} className="w-full cursor-pointer" readOnly - placeholder={gpuSelectionPlaceHolder} + placeholder="" suffixIcon={