Add box-shadow, reduce padding on mobile.

This commit is contained in:
symant233
2022-11-29 18:58:49 +08:00
parent 0684f04546
commit bfb2db73b5
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ const SwitchLayout = () => {
return (
<div className="relative w-24 flex-shrink-0 text-sm text-gray-600 dark:text-gray-300 md:w-28">
<Listbox value={preferredLayout} onChange={setPreferredLayout}>
<Listbox.Button className="relative w-full cursor-pointer rounded pl-2">
<Listbox.Button className="relative w-full cursor-pointer rounded pl-4">
<span className="pointer-events-none flex items-center">
<FontAwesomeIcon className="mr-2 h-3 w-3" icon={preferredLayout.icon} />
<span>