From ae60de6456c4ecb0450c3ea9685311b24e531a21 Mon Sep 17 00:00:00 2001 From: Akshay Anand Date: Sun, 30 Sep 2018 17:39:58 -0400 Subject: [PATCH] fixes #381 --- dev/App.vue | 4 ++- src/components/Table.vue | 65 +++++++++++++++++++++------------------- src/styles/_utils.scss | 1 + 3 files changed, 38 insertions(+), 32 deletions(-) diff --git a/dev/App.vue b/dev/App.vue index 00f5c485..14905f79 100644 --- a/dev/App.vue +++ b/dev/App.vue @@ -17,10 +17,12 @@ :rows="rows" theme="black-rhino" :line-numbers="true" + max-height="200px" + :fixed-header="true" :pagination-options="{ mode: 'pages', perPage: 3, - enabled: true, + enabled: false, }" :select-options="{ enabled: false, diff --git a/src/components/Table.vue b/src/components/Table.vue index fd3f46b8..c1274bde 100644 --- a/src/components/Table.vue +++ b/src/components/Table.vue @@ -60,37 +60,40 @@ - - - - - -
+
+ + + + + +
+
diff --git a/src/styles/_utils.scss b/src/styles/_utils.scss index 482a2cde..b4ea884b 100644 --- a/src/styles/_utils.scss +++ b/src/styles/_utils.scss @@ -29,6 +29,7 @@ .vgt-responsive { width: 100%; overflow-x: auto; + position: relative; } .vgt-text-disabled{