From 210192d09ca9b7c3d61b017fa0db6a5890ec8679 Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Mon, 26 Jun 2017 16:22:13 +0200 Subject: [PATCH] Rework a bit on top of bnjbvr's fix for #49. * Remove the text-decoration due to the use of links * Make the link element occupy the whole table cell, without padding * Use `router-link` instead of `a` tag --- flatisfy/web/js_src/components/flatstable.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flatisfy/web/js_src/components/flatstable.vue b/flatisfy/web/js_src/components/flatstable.vue index 6830a76..94ffd77 100644 --- a/flatisfy/web/js_src/components/flatstable.vue +++ b/flatisfy/web/js_src/components/flatstable.vue @@ -47,8 +47,8 @@ - - + + @@ -64,7 +64,7 @@
{{ flat.notes }}
-
+ {{ flat.area }} m² @@ -171,9 +171,6 @@ export default { this.sortBy = field } }, - makeDetailsUrl(flatId) { - return `/#/flat/${flatId}`; - }, capitalize: capitalize, range: range } @@ -218,10 +215,13 @@ pre { word-break: break-all; } +.no-padding { + padding: 0; +} + .fill { display: block; - width: 100%; - padding-left: 0; - padding-right: 0; + padding: 2em; + text-decoration: none; }