From d238de10e0c17a113993657acae9d4da43abf3a2 Mon Sep 17 00:00:00 2001 From: SeanLeRoy Date: Thu, 24 Oct 2024 12:57:17 -0700 Subject: [PATCH 1/3] Remove pointer-event blocker --- .../web/src/components/OpenSourceDatasets/DatasetRow.module.css | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/web/src/components/OpenSourceDatasets/DatasetRow.module.css b/packages/web/src/components/OpenSourceDatasets/DatasetRow.module.css index 073b7b8c..a11ac3d1 100644 --- a/packages/web/src/components/OpenSourceDatasets/DatasetRow.module.css +++ b/packages/web/src/components/OpenSourceDatasets/DatasetRow.module.css @@ -20,7 +20,6 @@ } .button-wrapper { - pointer-events: none; position: absolute; top: 0; left: 0; From ba0b92d86388f768c4cd2a66818befb7a0718e7a Mon Sep 17 00:00:00 2001 From: SeanLeRoy Date: Thu, 24 Oct 2024 14:52:25 -0700 Subject: [PATCH 2/3] Remove pointer event for gradient --- .../src/components/OpenSourceDatasets/DatasetTable.module.css | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web/src/components/OpenSourceDatasets/DatasetTable.module.css b/packages/web/src/components/OpenSourceDatasets/DatasetTable.module.css index 95fa5207..9ae94bbf 100644 --- a/packages/web/src/components/OpenSourceDatasets/DatasetTable.module.css +++ b/packages/web/src/components/OpenSourceDatasets/DatasetTable.module.css @@ -62,6 +62,7 @@ background-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.9)); position: absolute; height: calc(100% - calc(4*var(--margin))); + pointer-events: none; width: 86px; } } From e66d5d758df75ab0571a9fcbc448743bb0f0ca0e Mon Sep 17 00:00:00 2001 From: SeanLeRoy Date: Wed, 30 Oct 2024 11:29:22 -0700 Subject: [PATCH 3/3] Allow clicking on pub link --- .../components/OpenSourceDatasets/DatasetRow.module.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/web/src/components/OpenSourceDatasets/DatasetRow.module.css b/packages/web/src/components/OpenSourceDatasets/DatasetRow.module.css index a11ac3d1..8ad90355 100644 --- a/packages/web/src/components/OpenSourceDatasets/DatasetRow.module.css +++ b/packages/web/src/components/OpenSourceDatasets/DatasetRow.module.css @@ -22,14 +22,17 @@ .button-wrapper { position: absolute; top: 0; - left: 0; - width: 100%; + right: 0; height: 100%; display: flex; align-items: center; justify-content: flex-end; } +.button-wrapper:hover { + width: 100%; +} + .button-wrapper-hidden { display: none; }