Merge branch 'Longhorn-Developers:main' into main

This commit is contained in:
2024-06-04 01:14:35 -05:00
committed by GitHub
5 changed files with 35 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
{ {
"name": "ut-registration-plus", "name": "ut-registration-plus",
"displayName": "UT Registration Plus", "displayName": "UT Registration Plus",
"version": "2.0.0-beta2", "version": "2.0.0-beta4",
"description": "UT Registration Plus is a Chrome extension that allows students to easily register for classes.", "description": "UT Registration Plus is a Chrome extension that allows students to easily register for classes.",
"private": true, "private": true,
"homepage": "https://github.com/Longhorn-Developers/UT-Registration-Plus", "homepage": "https://github.com/Longhorn-Developers/UT-Registration-Plus",

View File

@@ -44,6 +44,7 @@ export default function Dialog(props: PropsWithChildren<DialogProps>): JSX.Eleme
> >
<div className={clsx('fixed inset-0 z-50 bg-slate-700/35')} /> <div className={clsx('fixed inset-0 z-50 bg-slate-700/35')} />
</TransitionChild> </TransitionChild>
<div className='fixed inset-0 z-50 flex items-center justify-center'>
<TransitionChild <TransitionChild
as={Fragment} as={Fragment}
enter='transition duration-375 motion-reduce:duration-0 ease-[cubic-bezier(0.05,0.4,0.2,1)]' enter='transition duration-375 motion-reduce:duration-0 ease-[cubic-bezier(0.05,0.4,0.2,1)]'
@@ -53,10 +54,9 @@ export default function Dialog(props: PropsWithChildren<DialogProps>): JSX.Eleme
leaveFrom='transform-gpu scale-100 opacity-100' leaveFrom='transform-gpu scale-100 opacity-100'
leaveTo='transform-gpu scale-95 opacity-0' leaveTo='transform-gpu scale-95 opacity-0'
> >
<div className='fixed inset-0 z-50 flex items-center justify-center'>
<DialogPanel <DialogPanel
className={clsx( className={clsx(
'z-99 max-h-[90vh] flex flex-col overflow-y-auto border border-solid border-ut-offwhite rounded bg-white shadow-xl ml-[calc(100vw-100%)] mt-[calc(100vw-100%)]', 'z-99 max-h-[90vh] flex flex-col overflow-y-auto border border-solid border-ut-offwhite rounded bg-white shadow-xl ml-[calc(100vw-100%)]',
className className
)} )}
> >
@@ -64,8 +64,8 @@ export default function Dialog(props: PropsWithChildren<DialogProps>): JSX.Eleme
{props.description && <Description as={Fragment}>{props.description}</Description>} {props.description && <Description as={Fragment}>{props.description}</Description>}
{children} {children}
</DialogPanel> </DialogPanel>
</div>
</TransitionChild> </TransitionChild>
</div>
</ExtensionRoot> </ExtensionRoot>
</Transition> </Transition>
); );

View File

@@ -17,25 +17,25 @@
[data-rfd-drag-handle-context-id=':r1:'] { [data-rfd-drag-handle-context-id=':r1:'] {
cursor: move; cursor: move;
} }
}
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 14px; width: 14px;
height: 14px; height: 14px;
background: transparent; background: transparent;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
border: 3px solid #fff; border: 3px solid #fff;
border-radius: 7px; border-radius: 7px;
min-height: 40px; min-height: 40px;
box-shadow: none; box-shadow: none;
background: rgb(218, 220, 224); background: rgb(218, 220, 224);
} }
:hover::-webkit-scrollbar-thumb, :hover::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover { ::-webkit-scrollbar-thumb:hover {
background: rgb(189, 193, 198); background: rgb(189, 193, 198);
} }
::-webkit-scrollbar-thumb:active { ::-webkit-scrollbar-thumb:active {
background: rgb(128, 134, 139); background: rgb(128, 134, 139);
}
} }

View File

@@ -28,7 +28,7 @@ export function SmallLogo({ className }: { className?: string }): JSX.Element {
return ( return (
<div className={clsx('flex items-center gap-2', className)}> <div className={clsx('flex items-center gap-2', className)}>
<LogoIcon /> <LogoIcon />
<div className='flex flex-col text-lg font-medium leading-[1em] mt-1'> <div className='mt-1 flex flex-col text-lg font-medium leading-[1em]'>
<p className='text-nowrap text-ut-burntorange'>UT Registration</p> <p className='text-nowrap text-ut-burntorange'>UT Registration</p>
<p className='text-ut-burntorange'> <p className='text-ut-burntorange'>
Plus{' '} Plus{' '}
@@ -51,7 +51,7 @@ export function LargeLogo({ className }: { className?: string }): JSX.Element {
return ( return (
<div className={clsx('flex items-center gap-2', className)}> <div className={clsx('flex items-center gap-2', className)}>
<LogoIcon className='h-12 w-12' /> <LogoIcon className='h-12 w-12' />
<div className='hidden flex-col text-[1.35rem] font-medium leading-[1em] md:flex screenshot:flex mt-1'> <div className='mt-1 hidden flex-col text-[1.35rem] font-medium leading-[1em] md:flex screenshot:flex'>
<p className='text-nowrap text-ut-burntorange'>UT Registration</p> <p className='text-nowrap text-ut-burntorange'>UT Registration</p>
<p className='text-ut-burntorange'> <p className='text-ut-burntorange'>
Plus{' '} Plus{' '}