From 512983a0ffa6dcb6d95ae2525e9d7662035906e2 Mon Sep 17 00:00:00 2001 From: m15o Date: Sat, 21 May 2022 14:22:20 +0200 Subject: [PATCH] fix widget --- assets/style.css | 4 ++++ web/handler/html.go | 17 ++++++++--------- web/handler/html/current_status.html | 2 +- web/handler/html/index.html | 1 - web/handler/html/user.html | 14 +++++++------- web/handler/tpl.go | 2 +- 6 files changed, 21 insertions(+), 19 deletions(-) diff --git a/assets/style.css b/assets/style.css index 3a60d19..55155c9 100644 --- a/assets/style.css +++ b/assets/style.css @@ -12,6 +12,10 @@ body { max-width: 500px; } +.profile-picture { + max-width: 100px; +} + .flash { background-color: lightgreen; padding: 0.5em 1em; diff --git a/web/handler/html.go b/web/handler/html.go index 1dbb168..0f76af4 100644 --- a/web/handler/html.go +++ b/web/handler/html.go @@ -112,7 +112,7 @@ var TplMap = map[string]string{

Past this code into your HTML file:

- +

Past this code into your CSS file:

+

Past this code into your CSS file: