From c084e1599bab830c718f676d4afbbb9c72b7fcf1 Mon Sep 17 00:00:00 2001 From: trfloria <trfloria@student.ethz.ch> Date: Sat, 17 Mar 2018 14:51:27 +0100 Subject: [PATCH] table format test study docs --- src/views/studydocs/studydocList.js | 6 ------ src/views/styles/listview.less | 16 +++++++++------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/src/views/studydocs/studydocList.js b/src/views/studydocs/studydocList.js index 29c149f5..d077cd8b 100644 --- a/src/views/studydocs/studydocList.js +++ b/src/views/studydocs/studydocList.js @@ -72,12 +72,6 @@ export default class studydocList { 'tr', { onclick: () => this.selectDocument(doc) }, [m('td', doc.title), m('td', 'type')] - // m( - // 'td', - // doc.files.map(item => - // m('a', { href: `${apiUrl}${item.file}`, target: '_blank' }, item.name) - // // ) - // ), ) ) ), diff --git a/src/views/styles/listview.less b/src/views/styles/listview.less index fa83d221..f86b39ef 100644 --- a/src/views/styles/listview.less +++ b/src/views/styles/listview.less @@ -1,13 +1,15 @@ .listview { display: grid; grid-template-columns: auto auto auto; - .filter{ + .filter{ - } - .content{ + } + .content{ + table { + width: 100%; + } + } + .details{ - } - .details{ - - } + } } -- GitLab