diff --git a/docs/admin/04_socialaccounts.rst b/docs/admin/04_socialaccounts.rst
index b53c0f23fc69aa893004608b5c67ec8b5b740a15..97f2fc7bb15c59f7cbac769759c6a485122e5ea8 100644
--- a/docs/admin/04_socialaccounts.rst
+++ b/docs/admin/04_socialaccounts.rst
@@ -34,5 +34,5 @@ provider and enter client id and secret from your application and choose
 your site:
 
 .. image:: ../_static/create_social_application.png
-  :width: 400
+  :width: 100%
   :alt: Create social application
diff --git a/docs/user/01_personal_account.rst b/docs/user/01_personal_account.rst
index e43e41328b5c5a1e7e7179c656b71fc7c945051b..a506b9e759ddf0b9f0e8235db784c51c150317c8 100644
--- a/docs/user/01_personal_account.rst
+++ b/docs/user/01_personal_account.rst
@@ -23,7 +23,7 @@ Setup two-factor authentication
 
 
 .. image:: ../_static/2fa.png
-  :width: 600
+  :width: 100%
   :alt: Configure two factor authentication
 
 AlekSIS provides two factor authentication using hardware tokens such as