From 9dd70e13cd49639549645f23b1b5ef63a36d84cc Mon Sep 17 00:00:00 2001 From: Adam Wagner Date: Wed, 17 May 2017 07:47:59 +0300 Subject: Make it possible for grid drop target to accept dragged data when grid is empty (#9332) * Make it possible for grid drop target to accept dragged data when grid is empty (#9068) * Make return type of getDropTargetRow() optional --- themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'themes/src/main') diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss index 06376d6a6e..541c38c314 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss @@ -876,6 +876,12 @@ $v-grid-drag-indicator-color: $v-focus-color; background: darken($v-grid-drag-indicator-color, 10%); } } + + // Expand Grid's body to cover the whole Grid + .#{$primary-stylename}-body-droptarget { + width: 100%; + height: 100%; + } } -- cgit v1.2.3