Image in header now round
This commit is contained in:
parent
16f23c08c6
commit
e69b9fb9c8
@ -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) {
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user