From 5a37217040f6891367fd6b633d271e841392ff4b Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Mon, 3 Dec 2018 08:55:48 +0100 Subject: [PATCH] Attempt to stabilise the select_wp_row spec --- .../stylesheets/content/work_packages/_table_content.sass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/content/work_packages/_table_content.sass b/app/assets/stylesheets/content/work_packages/_table_content.sass index b93fed4c3a..d2f1fb4b7b 100644 --- a/app/assets/stylesheets/content/work_packages/_table_content.sass +++ b/app/assets/stylesheets/content/work_packages/_table_content.sass @@ -114,12 +114,19 @@ html:not(.-browser-mobile) // the user from using click (to select) or double-click (to open full screen) // on the cell. Hence we disable events on this element but have to reenable them // for the inplace-edit fields. + // The ID field is an exception because there the link needs to capture the pointer-events not the span. + // Otherwise there would be a small area where nothing happens on click. pointer-events: none .inplace-edit display: initial pointer-events: all + &.id .inplace-edit + pointer-events: none + a + pointer-events: all + // Some padding for the inner cells of the display fields .wp-table--cell-span padding: 2px 5px 2px 5px