fix styles
This commit is contained in:
parent
fbeae81abb
commit
378a2fca46
|
@ -40,7 +40,7 @@ class PagePermissions:
|
|||
if user.is_superuser:
|
||||
return True
|
||||
|
||||
perm = self.perms_codename_format.format(self=self, perm=perm)
|
||||
perm = self.perms_codename_format.format(self=self, perm=perm, obj=obj)
|
||||
return user.has_perm(perm)
|
||||
|
||||
def init(self, obj, model=None):
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -332,7 +332,7 @@
|
|||
}
|
||||
|
||||
.preview-header {
|
||||
width: 100%;
|
||||
// width: 100%;
|
||||
|
||||
/*&:not(.no-cover) {
|
||||
min-height: var(--header-height);
|
||||
|
|
Loading…
Reference in New Issue
Block a user