From f9e0ffa0eb1232bc41193a9ffa9c4c8af4a4b494 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 21 Dec 2020 20:38:24 +0100 Subject: [PATCH] Add explicit size to header image, bump last update date --- web/dart/reorganize_html.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/dart/reorganize_html.dart b/web/dart/reorganize_html.dart index 6390231..215455c 100644 --- a/web/dart/reorganize_html.dart +++ b/web/dart/reorganize_html.dart @@ -10,7 +10,9 @@ Future makeHeader() async { header ..append(Element.img() ..attributes['src'] = image_header - ..attributes['alt'] = 'Logo') + ..attributes['alt'] = 'Logo' + ..attributes['height'] = '150px' + ..attributes['width'] = '150px') ..append(querySelector('h1')); final subt = header.querySelector('.subtitle'); if (subt != null) { @@ -40,7 +42,7 @@ Future linkifyImg() async { Future reorganizeHtml() async { final ls = window.localStorage; - final lastUpdate = '20200828'; + final lastUpdate = '20201221'; if (ls['last-update'] != lastUpdate) { ls['last-update'] = lastUpdate; window.location.reload();