From 8a1bd5d7680396d087d63602778d24bce13d8534 Mon Sep 17 00:00:00 2001 From: ben little Date: Thu, 18 Jul 2024 14:48:54 -0600 Subject: [PATCH] update profile pic --- theme/includes/basics.pug | 3 ++- theme/style.scss | 15 ++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/theme/includes/basics.pug b/theme/includes/basics.pug index 25aa3ed..e7c8bb9 100644 --- a/theme/includes/basics.pug +++ b/theme/includes/basics.pug @@ -31,5 +31,6 @@ span b= profile.network span.username= profile.username - img.image(src=basics.image) + .img-ctr + img.image(src=basics.image) p.summary= basics.summary diff --git a/theme/style.scss b/theme/style.scss index 095cc0e..13dae93 100644 --- a/theme/style.scss +++ b/theme/style.scss @@ -65,23 +65,18 @@ header { } .website { - grid-area: website; - * { margin-right: $spacing; } } .email { - grid-area: email; - * { margin-right: $spacing; } } ul.profiles { - grid-area: profiles; list-style-type: none; padding: 0; margin: 0; @@ -97,10 +92,16 @@ header { } } - .image { - grid-area: image; + .img-ctr { height: 172px; width: 172px; + display: flex; + justify-content: end; + + img { + max-height: 100%; + max-width: 100%; + } } p.summary {