Add explicit size to header image, bump last update date
This commit is contained in:
parent
9632b008ac
commit
f9e0ffa0eb
@ -10,7 +10,9 @@ Future<Element> 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<void> linkifyImg() async {
|
||||
|
||||
Future<void> reorganizeHtml() async {
|
||||
final ls = window.localStorage;
|
||||
final lastUpdate = '20200828';
|
||||
final lastUpdate = '20201221';
|
||||
if (ls['last-update'] != lastUpdate) {
|
||||
ls['last-update'] = lastUpdate;
|
||||
window.location.reload();
|
||||
|
Reference in New Issue
Block a user