diff --git a/frappe/docs/current/api/utils/frappe.utils.html b/frappe/docs/current/api/utils/frappe.utils.html index 468917e298..4a8c04ccec 100644 --- a/frappe/docs/current/api/utils/frappe.utils.html +++ b/frappe/docs/current/api/utils/frappe.utils.html @@ -300,7 +300,7 @@ frappe.utils.get_formatted_email (user)

-

get email id of user formatted as: John Doe johndoe@example.com

+

get email id of user formatted as: John Doe johndoe@example.com


diff --git a/frappe/public/css/docs.css b/frappe/public/css/docs.css index e2d790d505..24c45c7d74 100644 --- a/frappe/public/css/docs.css +++ b/frappe/public/css/docs.css @@ -588,3 +588,11 @@ a.edit:visited { color: #454e57; font-size: 16px; } +@media (max-width: 767px) { + .offcanvas-container, + .offcanvas, + .offcanvas-main-section { + position: relative; + width: 50%; + } +} diff --git a/frappe/public/images/background.png b/frappe/public/images/background.png new file mode 100644 index 0000000000..45b91e94ea Binary files /dev/null and b/frappe/public/images/background.png differ diff --git a/frappe/public/images/smiley.png b/frappe/public/images/smiley.png new file mode 100644 index 0000000000..80aaf48f35 Binary files /dev/null and b/frappe/public/images/smiley.png differ diff --git a/frappe/public/images/up.png b/frappe/public/images/up.png new file mode 100644 index 0000000000..949027e61e Binary files /dev/null and b/frappe/public/images/up.png differ diff --git a/frappe/public/less/docs.less b/frappe/public/less/docs.less index 98f8e7019c..af97c38370 100644 --- a/frappe/public/less/docs.less +++ b/frappe/public/less/docs.less @@ -346,3 +346,12 @@ a.edit, a.edit:hover, a.edit:focus, a.edit:visited { color:#454e57; font-size:16px; } + +@media (max-width: 767px) { + .offcanvas-container, + .offcanvas, + .offcanvas-main-section { + position: relative; + width:50%; + } +} diff --git a/frappe/utils/setup_docs.py b/frappe/utils/setup_docs.py index 7c2f7a0d94..077438e2e5 100644 --- a/frappe/utils/setup_docs.py +++ b/frappe/utils/setup_docs.py @@ -372,7 +372,10 @@ class setup_docs(object): "css/octicons": "css/octicons", # always overwrite octicons.css to fix the path "css/octicons/octicons.css": "css/octicons/octicons.css", - "images/frappe-bird-grey.svg": "img/frappe-bird-grey.svg" + "images/frappe-bird-grey.svg": "img/frappe-bird-grey.svg", + "images/background.png": "img/background.png", + "images/smiley.png": "img/smiley.png", + "images/up.png": "img/up.png" } for source, target in copy_files.iteritems():