File tree Expand file tree Collapse file tree 3 files changed +18
-8
lines changed
Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -836,6 +836,20 @@ def visualize_slice(
836836 border: 1px solid var(--emphasized-border-color, gray);
837837 }
838838
839+ .attr:hover,
840+ .object-id:hover,
841+ .limited:hover {
842+ background-color: color-mix(in srgb, currentcolor, transparent 85%);
843+ border-radius: 2px;
844+ }
845+
846+ .truncated:hover {
847+ background-color: color-mix(
848+ in srgb,
849+ var(--emphasized-background-color, whitesmoke),
850+ currentcolor 10%);
851+ }
852+
839853 .attr:active,
840854 .object-id:active,
841855 .truncated:active,
Original file line number Diff line number Diff line change @@ -460,11 +460,11 @@ export class MultiDimTable
460460 dimNav . scrollLeft = existingScrollLeft ;
461461
462462 dataRegionParts . detailPane . addEventListener ( 'click' , ( e : MouseEvent ) => {
463- const { target } = e ;
464- if ( target instanceof HTMLSlotElement ) {
463+ const slot = e . composedPath ( ) . find ( el => el instanceof HTMLSlotElement ) ;
464+ if ( slot ) {
465465 // Handle a click to scroll to a cell based on the detail pane.
466- const row = Number ( target . dataset [ 'row' ] ) ;
467- const col = Number ( target . dataset [ 'col' ] ) ;
466+ const row = Number ( slot . dataset [ 'row' ] ) ;
467+ const col = Number ( slot . dataset [ 'col' ] ) ;
468468 this . focusDataCell ( row , col ) ;
469469 this . suppressLoadRequests = 1 ;
470470 this . scrollToIndex ( col + this . loadedRange [ 0 ] ) ;
Original file line number Diff line number Diff line change @@ -150,10 +150,6 @@ export function shadow() {
150150 position: relative;
151151 }
152152
153- slot::slotted(*) {
154- cursor: default;
155- }
156-
157153 /* No pointer when there is only one element. */
158154 slot:first-child:last-child {
159155 cursor: default;
You can’t perform that action at this time.
0 commit comments