From 645e77ea29a55a219c85e02ec3d0cd03432b9f00 Mon Sep 17 00:00:00 2001 From: Andrey Kozlov Date: Sun, 7 Aug 2022 16:49:03 +0100 Subject: [PATCH] filters --- src/components/SummaryRenderer.js | 43 ++++++++++++------------------- 1 file changed, 17 insertions(+), 26 deletions(-) diff --git a/src/components/SummaryRenderer.js b/src/components/SummaryRenderer.js index 80587afc..452ab6cc 100644 --- a/src/components/SummaryRenderer.js +++ b/src/components/SummaryRenderer.js @@ -40,11 +40,16 @@ module.exports.render = function({items}) { font-weight: bold; } .categories button { - margin: 10px; - font-size: 16px; + margin: 5px; + font-size: 14px; + cursor: pointer; + border: none; + } + .categories button:hover { + outline: 3px solid #eef; } .categories button.selected { - border: 3px solid #666; + outline: 3px solid #aaf; } table { width: ${columnWidth * projects.length}px; @@ -60,6 +65,8 @@ module.exports.render = function({items}) { margin: 0; border: 1px solid grey; border-top-width: 0px; + height: 50px; + padding: 0 3px; } .table-wrapper { @@ -91,7 +98,7 @@ module.exports.render = function({items}) {
- +
').join('')}
Project @@ -221,10 +228,10 @@ module.exports.render = function({items}) { `: ' 
-