From 3393caf9c61c42a7ac07ba229e7b6981ba30304a Mon Sep 17 00:00:00 2001 From: Prashant <42613882+PrashantSakre@users.noreply.github.com> Date: Mon, 21 Jun 2021 13:57:41 +0530 Subject: [PATCH] fix(docs): Easy readability of documentation in mobile view (#42572) Co-authored-by: PrashantSakre --- docs/_theme.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/_theme.css b/docs/_theme.css index 81f111c2b6..76756f9cf4 100644 --- a/docs/_theme.css +++ b/docs/_theme.css @@ -60,6 +60,10 @@ body .content { .universal-nav a.translations-link { visibility: hidden; } + + body .content { + max-width: 100%; + } } /****** Cover Page ******/ @@ -316,6 +320,13 @@ body.close .github-corner { color: var(--text-color-tertiary); } +@media screen and (max-width: 768px) { + .markdown-section { + max-width: 90%; + padding: 40px 15px 40px 15px; + } +} + /****** CODE HIGHLIGHTING ******/ .token.string { color: #42b983;