forked from rDrama/rDrama
1
0
Fork 0

Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost

master
Aevann1 2022-08-20 11:36:08 +00:00
commit 83ca635911
4 changed files with 3 additions and 10 deletions

View File

@ -6220,15 +6220,6 @@ g {
font-weight: 600; font-weight: 600;
} }
.expandedimage {
min-height: 1rem !important;
}
.expandedimage {
margin-top: 10vh !important;
margin-bottom: 10vh !important;
}
.desktop-expanded-image-modal::-webkit-scrollbar { .desktop-expanded-image-modal::-webkit-scrollbar {
display: none; display: none;
} }

View File

@ -86,6 +86,7 @@ class Comment(Base):
@lazy @lazy
def can_see(self, v): def can_see(self, v):
if SITE != 'rdrama.net': return True
if not self.parent_submission: return True if not self.parent_submission: return True
if self.post.sub != 'chudrama': return True if self.post.sub != 'chudrama': return True
if v: if v:

View File

@ -79,6 +79,7 @@ class Submission(Base):
@lazy @lazy
def can_see(self, v): def can_see(self, v):
if SITE != 'rdrama.net': return True
if self.sub != 'chudrama': return True if self.sub != 'chudrama': return True
if v: if v:
if v.id == self.author_id: return True if v.id == self.author_id: return True

View File

@ -1,6 +1,6 @@
{%- {%-
set CACHE_VER = { set CACHE_VER = {
'css/main.css': 468, 'css/main.css': 469,
'css/catalog.css': 2, 'css/catalog.css': 2,
'css/4chan.css': 61, 'css/4chan.css': 61,