fix styles

This commit is contained in:
bkfox 2024-05-04 04:09:45 +02:00
parent fbeae81abb
commit 378a2fca46
4 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ class PagePermissions:
if user.is_superuser: if user.is_superuser:
return True 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) return user.has_perm(perm)
def init(self, obj, model=None): 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

View File

@ -332,7 +332,7 @@
} }
.preview-header { .preview-header {
width: 100%; // width: 100%;
/*&:not(.no-cover) { /*&:not(.no-cover) {
min-height: var(--header-height); min-height: var(--header-height);