mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 17:58:55 +00:00
looking nicer
This commit is contained in:
1 parent
369ee8570f
commit
20d8bee85b
1 file changed
+4
-4
@@ -44,16 +44,16 @@ export const SidePanel =(props:SidePanelPropsI)=>{
|
||||
leaveTo="translate-x-full"
|
||||
>
|
||||
<Dialog.Panel className="pointer-events-auto w-screen max-w-2xl">
|
||||
<div className="flex h-full flex-col overflow-y-scroll bg-white py-6 shadow-xl">
|
||||
<div className="flex h-full flex-col overflow-y-scroll bg-ui-panel py-6 shadow-xl">
|
||||
<div className="px-4 sm:px-6">
|
||||
<div className="flex items-start justify-between">
|
||||
<Dialog.Title className="text-base font-semibold leading-6 text-gray-900">
|
||||
Panel title
|
||||
<Dialog.Title className="text-base font-semibold leading-6 text-white">
|
||||
Library
|
||||
</Dialog.Title>
|
||||
<div className="ml-3 flex h-7 items-center">
|
||||
<button
|
||||
type="button"
|
||||
className="relative rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
|
||||
className="relative rounded-md bg-brand-primary text-white hover:bg-brand-primary-400 focus:outline-none focus:ring-brand-primary-500"
|
||||
onClick={() => setOpen(false)}
|
||||
>
|
||||
<span className="absolute -inset-2.5" />
|
||||
|
||||
Reference in new issue
Block a user