fix: setting dropdown design

pull/3813/head
Arik Chakma 2 years ago
parent 884bd5d66e
commit fc054e20e7
  1. 4
      src/components/Setting/SettingSidebar.astro

@ -34,7 +34,7 @@ export interface Props {
<div class='grow py-10 pl-0 md:p-10 md:pr-0'> <div class='grow py-10 pl-0 md:p-10 md:pr-0'>
<div class='relative mb-5 md:hidden'> <div class='relative mb-5 md:hidden'>
<button <button
class='flex h-10 w-full items-center justify-between rounded-md border border-slate-400 px-2 text-center text-slate-900' class='flex h-10 w-full items-center justify-between rounded-md bg-slate-800 px-2 text-center font-medium text-slate-100'
id='settings-menu' id='settings-menu'
> >
{name} {name}
@ -42,7 +42,7 @@ export interface Props {
</button> </button>
<ul <ul
id='settings-menu-dropdown' id='settings-menu-dropdown'
class='absolute mt-3 hidden w-full space-y-1.5 rounded-md bg-white p-2 shadow-lg' class='absolute mt-1 hidden w-full space-y-1.5 rounded-md bg-white p-2 shadow-lg'
> >
<li> <li>
<a <a

Loading…
Cancel
Save