Change X-Frame options, and apply styling tweak to wiki preview

This commit is contained in:
Oliver Marks 2017-09-16 08:55:58 +01:00
parent e01770cd06
commit 22a700bc5e
3 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ SESSION_COOKIE_HTTPONLY = True
CSRF_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True
#disabledd so csrf works with ajax #disabledd so csrf works with ajax
CSRF_COOKIE_HTTPONLY = False CSRF_COOKIE_HTTPONLY = False
X_FRAME_OPTIONS = 'DENY' X_FRAME_OPTIONS = 'SAMEORIGIN'
# SITE CONFIGURATION # SITE CONFIGURATION
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------

View File

@ -43,7 +43,7 @@ SESSION_COOKIE_HTTPONLY = True
CSRF_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True
#disabledd so csrf works with ajax #disabledd so csrf works with ajax
CSRF_COOKIE_HTTPONLY = False CSRF_COOKIE_HTTPONLY = False
X_FRAME_OPTIONS = 'DENY' X_FRAME_OPTIONS = 'SAMEORIGIN'
# SITE CONFIGURATION # SITE CONFIGURATION
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------

View File

@ -10,6 +10,7 @@
margin: 50px; margin: 50px;
padding: 0; padding: 0;
max-width: None; max-width: None;
position: absolute;
} }
.modal-content { .modal-content {