From 28abe99093d64b0a9750a955ef7e642f6688509f Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sat, 31 Jul 2021 19:08:39 -0300 Subject: [PATCH] fix: size Signed-off-by: Carlos Alexandro Becker --- main.go | 2 +- static/styles.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 81d306b..95e506f 100644 --- a/main.go +++ b/main.go @@ -27,7 +27,7 @@ func main() { log.SetHandler(text.New(os.Stderr)) // log.SetLevel(log.DebugLevel) config := config.Get() - ctx := log.WithField("port", config.Port) + ctx := log.WithField("listen", config.Listen) options, err := redis.ParseURL(config.RedisURL) if err != nil { log.WithError(err).Fatal("invalid redis_url") diff --git a/static/styles.css b/static/styles.css index 36c7062..bc77a84 100644 --- a/static/styles.css +++ b/static/styles.css @@ -88,6 +88,11 @@ div.title>span.subtitle { color: #555; } +div.main { + width: 20%; + max-width: 800px; +} + div.main, div.code { padding-top: 30px;