fix: plan/repo settings button hard to click

This commit is contained in:
garethgeorge
2024-10-19 09:28:19 -07:00
parent 66a5241de8
commit ec89cfde51
+8 -2
View File
@@ -206,7 +206,10 @@ const getSidenavItems = (config: Config | null): MenuProps["items"] => {
key: "p-" + plan.id,
icon: <IconForResource planId={plan.id} repoId={plan.repo} />,
label: (
<div className="backrest visible-on-hover">
<div
className="backrest visible-on-hover"
style={{ width: "100%", height: "100%" }}
>
{plan.id}{" "}
<Button
className="hidden-child float-center-right"
@@ -249,7 +252,10 @@ const getSidenavItems = (config: Config | null): MenuProps["items"] => {
key: "r-" + repo.id,
icon: <IconForResource repoId={repo.id} />,
label: (
<div className="backrest visible-on-hover">
<div
className="backrest visible-on-hover"
style={{ width: "100%", height: "100%" }}
>
{repo.id}{" "}
<Button
type="text"