From e69b9fb9c8eb20fb6ccdf7f8a1141e78ee1b66c1 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 6 Dec 2020 01:17:29 +0100 Subject: [PATCH] Image in header now round --- web/dart/reorganize_html.dart | 4 +--- web/style/style.scss | 6 ++++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/web/dart/reorganize_html.dart b/web/dart/reorganize_html.dart index 00f821b..b48d8dd 100644 --- a/web/dart/reorganize_html.dart +++ b/web/dart/reorganize_html.dart @@ -10,9 +10,7 @@ Future makeHeader() async { header ..append(Element.img() ..attributes['src'] = image_header - ..attributes['alt'] = 'Logo' - ..attributes['heigh'] = '150px' - ..attributes['width'] = '150px') + ..attributes['alt'] = 'Logo') ..append(querySelector('h1')); final subt = header.querySelector('.subtitle'); if (subt != null) { diff --git a/web/style/style.scss b/web/style/style.scss index a7910e3..15ccb61 100644 --- a/web/style/style.scss +++ b/web/style/style.scss @@ -334,6 +334,12 @@ img { max-width: 100%; } +header > img { + width: 150px; + height: 150px; + border-radius: 75px; +} + .nav-icon { max-width: 20px; max-height: 20px;