Fix invalid CSS syntax
authorr <r@freesoftwareextremist.com>
Sat, 22 Aug 2020 06:38:59 +0000 (06:38 +0000)
committerr <r@freesoftwareextremist.com>
Sat, 22 Aug 2020 06:41:49 +0000 (06:41 +0000)
main.go
static/style.css

diff --git a/main.go b/main.go
index 3b000c772f86d1590d9839be056bed9abc1e6544..87be0d21b610730507f1aef014270f7540eeb3c4 100644 (file)
--- a/main.go
+++ b/main.go
@@ -75,7 +75,7 @@ func main() {
        appRepo := repo.NewAppRepo(appDB)
 
        customCSS := config.CustomCSS
-       if !strings.HasPrefix(customCSS, "http://") &&
+       if len(customCSS) > 0 && !strings.HasPrefix(customCSS, "http://") &&
                !strings.HasPrefix(customCSS, "https://") {
                customCSS = "/static/" + customCSS
        }
index 8eb321d19abadee33f695cc835a58ce10e78cb3b..d43449fbf943f3f95b8297e1b15ba7ddf8e679b5 100644 (file)
@@ -93,7 +93,7 @@
 }
 
 .status-action * {
-       verical-align: center;
+       vertical-align: middle;
 }
 
 .status-action a.status-time {
 
 .status-reply-to {
        display: inline-block;
-       vertical-align: center;
 }
 
 .status-reply-to-link {
 }
 
 .user-profile-img-container {
-       display: inline-block
+       display: inline-block;
+       margin: 0 4px 0 0;
 }
 
 .user-profile-details-container {
        display: inline-block;
        vertical-align: top;
-       margin: 0 4px;
 }
 
 .user-profile-details-container>div {
@@ -356,9 +355,7 @@ img.emoji {
 }
 
 .user-info {
-       margin-bottom: 8px;
        display: flex;
-       align-items: top;
 }
 
 .user-info-img {