0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 12:10:11 +09:00

Fix z-index

This commit is contained in:
yude 2021-05-01 18:28:53 +09:00
parent 357d7939f6
commit d5b19549e8
Signed by: yude
GPG Key ID: EB0FE5D925C4A968

View File

@ -28,7 +28,7 @@ const Dropdown = ({ color }) => {
return (
<>
<div className="relative inline-block text-left mr-2 float-right">
<div className="relative inline-block text-left mr-2 float-right z-10">
<button type="button" className="inline-flex justify-center w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500" id="options-menu" aria-haspopup="true" aria-expanded="true"
style={{ transition: "all .15s ease" }}
ref={btnDropdownRef}