Image in header now round

This commit is contained in:
Lucien Cartier-Tilet 2020-12-06 01:17:29 +01:00
parent 16f23c08c6
commit e69b9fb9c8
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 7 additions and 3 deletions

View File

@ -10,9 +10,7 @@ Future<Element> makeHeader() async {
header header
..append(Element.img() ..append(Element.img()
..attributes['src'] = image_header ..attributes['src'] = image_header
..attributes['alt'] = 'Logo' ..attributes['alt'] = 'Logo')
..attributes['heigh'] = '150px'
..attributes['width'] = '150px')
..append(querySelector('h1')); ..append(querySelector('h1'));
final subt = header.querySelector('.subtitle'); final subt = header.querySelector('.subtitle');
if (subt != null) { if (subt != null) {

View File

@ -334,6 +334,12 @@ img {
max-width: 100%; max-width: 100%;
} }
header > img {
width: 150px;
height: 150px;
border-radius: 75px;
}
.nav-icon { .nav-icon {
max-width: 20px; max-width: 20px;
max-height: 20px; max-height: 20px;