Fix invalid CSS syntax
This commit is contained in:
parent
61020d8837
commit
798587868f
2
main.go
2
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
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
}
|
||||
|
||||
.status-action * {
|
||||
verical-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.status-action a.status-time {
|
||||
|
@ -177,7 +177,6 @@
|
|||
|
||||
.status-reply-to {
|
||||
display: inline-block;
|
||||
vertical-align: center;
|
||||
}
|
||||
|
||||
.status-reply-to-link {
|
||||
|
@ -219,13 +218,13 @@
|
|||
}
|
||||
|
||||
.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 {
|
||||
|
|
Loading…
Reference in New Issue