From 6ad20bc2e4fd4015c7cbe89a5f5d016ed2753116 Mon Sep 17 00:00:00 2001 From: Samruddhi Date: Tue, 6 Feb 2024 18:26:20 -0800 Subject: [PATCH] Updated Data and Added Date/Time to Insights Page --- blocks/gmo-metrics/gmo-metrics.css | 6 ++++++ blocks/gmo-metrics/gmo-metrics.js | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/blocks/gmo-metrics/gmo-metrics.css b/blocks/gmo-metrics/gmo-metrics.css index c5b7317b..2b368efa 100644 --- a/blocks/gmo-metrics/gmo-metrics.css +++ b/blocks/gmo-metrics/gmo-metrics.css @@ -12,6 +12,11 @@ content: ''; } +.gmo-metrics .title { + display: flex; + justify-content: space-between; +} + .gmo-metrics .graph-container { display: flex; flex-flow: row wrap; @@ -100,4 +105,5 @@ align-items: center; justify-content: center; } + } diff --git a/blocks/gmo-metrics/gmo-metrics.js b/blocks/gmo-metrics/gmo-metrics.js index c35504ac..96f23a9d 100644 --- a/blocks/gmo-metrics/gmo-metrics.js +++ b/blocks/gmo-metrics/gmo-metrics.js @@ -323,7 +323,10 @@ function sortByAmount(values) { export default async function decorate(block) { const config = readBlockConfig(block); block.innerHTML = ` -

${config.title || 'Asset Metrics'}

+
+

${config.title || 'Asset Metrics'}

+

Updated: ${config.updated}

+

Asset Statistics