aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorAdam Wagner <wbadam@users.noreply.github.com>2017-05-17 07:47:59 +0300
committerPekka Hyvönen <pekka@vaadin.com>2017-05-17 07:47:59 +0300
commit9dd70e13cd49639549645f23b1b5ef63a36d84cc (patch)
tree767062d89ac9c8faa256fcc3c24b5df82cc1dec4 /themes
parent9b725e2bd7f747ee5ddcef17e61233ad575ae999 (diff)
downloadvaadin-framework-9dd70e13cd49639549645f23b1b5ef63a36d84cc.tar.gz
vaadin-framework-9dd70e13cd49639549645f23b1b5ef63a36d84cc.zip
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
Diffstat (limited to 'themes')
-rw-r--r--themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss6
1 files changed, 6 insertions, 0 deletions
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%;
+ }
}