mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
1 pixel gif
This commit is contained in:
parent
568a1c49ca
commit
0b3a63cf59
4 changed files with 9 additions and 1 deletions
|
@ -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
BIN
app/static/images/1px.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 B |
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue