fix(docs): Easy readability of documentation in mobile view (#42572)

Co-authored-by: PrashantSakre <prashantsakre@Prashants-mac-mini.local>
This commit is contained in:
Prashant
2021-06-21 13:57:41 +05:30
committed by GitHub
parent 7d80f24d1f
commit 3393caf9c6

View File

@ -60,6 +60,10 @@ body .content {
.universal-nav a.translations-link { .universal-nav a.translations-link {
visibility: hidden; visibility: hidden;
} }
body .content {
max-width: 100%;
}
} }
/****** Cover Page ******/ /****** Cover Page ******/
@ -316,6 +320,13 @@ body.close .github-corner {
color: var(--text-color-tertiary); color: var(--text-color-tertiary);
} }
@media screen and (max-width: 768px) {
.markdown-section {
max-width: 90%;
padding: 40px 15px 40px 15px;
}
}
/****** CODE HIGHLIGHTING ******/ /****** CODE HIGHLIGHTING ******/
.token.string { .token.string {
color: #42b983; color: #42b983;