From b7c9fa2066fa9b2e53c0d367bc189d2be012de21 Mon Sep 17 00:00:00 2001 From: Sean Edmunds Date: Mon, 7 Apr 2025 22:33:29 -0500 Subject: [PATCH] Fixed styles --- .../components/Applications/Applications.tsx | 26 ++++++++++++++++--- .../Applications/DebouncedApplication.tsx | 18 ++++++++++--- .../components/Shared/SettingsHeader.tsx | 2 +- .../settings/components/Theming/Themes.tsx | 3 ++- src/styles/Select.module.css | 8 +++--- 5 files changed, 43 insertions(+), 14 deletions(-) diff --git a/src/pages/settings/components/Applications/Applications.tsx b/src/pages/settings/components/Applications/Applications.tsx index a958446..017a46b 100644 --- a/src/pages/settings/components/Applications/Applications.tsx +++ b/src/pages/settings/components/Applications/Applications.tsx @@ -19,7 +19,7 @@ import { useEffect, useState } from 'react'; import * as fa6 from 'react-icons/fa6'; import * as si from 'react-icons/si'; import * as vsc from 'react-icons/vsc'; -import { textInputClasses } from 'styles'; +import { selectClasses, textInputClasses } from 'styles'; import type { Application } from 'types'; import AddItemModal from '../Shared/AddItemModal'; import SettingsHeader from '../Shared/SettingsHeader'; @@ -164,13 +164,28 @@ const ApplicationSettings = () => { { return { value: icon, label: icon }; })} defaultValue={app.icon} comboboxProps={{ zIndex: 3000, + withinPortal: false, }} onChange={(event: any) => { setUpdate({ @@ -198,6 +207,7 @@ function DebouncedApplication({ ); }} searchable + maxDropdownHeight={175} onDropdownOpen={() => setIsOpen(true)} onDropdownClose={() => setIsOpen(false)} /> diff --git a/src/pages/settings/components/Shared/SettingsHeader.tsx b/src/pages/settings/components/Shared/SettingsHeader.tsx index c37fb10..d5d0229 100644 --- a/src/pages/settings/components/Shared/SettingsHeader.tsx +++ b/src/pages/settings/components/Shared/SettingsHeader.tsx @@ -32,7 +32,7 @@ function SettingsHeader({ mt={0} justify='center' pos={'absolute'} - style={{ backdropFilter: 'blur(10px) brightness(.75)', zIndex: 250 }} + style={{ backdropFilter: 'blur(10px) brightness(.75)', zIndex: 199 }} >