1 pixel gif

This commit is contained in:
rimu 2024-01-05 16:41:50 +13:00
parent 568a1c49ca
commit 0b3a63cf59
4 changed files with 9 additions and 1 deletions

View file

@ -203,7 +203,7 @@ class Community(db.Model):
return self.icon.source_url.replace('app/', '/') return self.icon.source_url.replace('app/', '/')
else: else:
return self.icon.source_url return self.icon.source_url
return '' return '/static/images/1px.gif'
@cache.memoize(timeout=500) @cache.memoize(timeout=500)
def header_image(self) -> str: def header_image(self) -> str:

BIN
app/static/images/1px.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 B

View file

@ -457,6 +457,10 @@ nav.navbar {
vertical-align: text-top; vertical-align: text-top;
} }
.list-group-item .community_icon {
vertical-align: middle;
}
.community_icon_big { .community_icon_big {
width: 20vw; width: 20vw;
height: 20vw; height: 20vw;

View file

@ -123,6 +123,10 @@ nav.navbar {
vertical-align: text-top; vertical-align: text-top;
} }
.list-group-item .community_icon {
vertical-align: middle;
}
.community_icon_big { .community_icon_big {
width: 20vw; width: 20vw;
height: 20vw; height: 20vw;