fix(docs-infra): make header full-width and panels full-width on mobile screens (#34188)

On events page the header was not able to take full width when body exceeds viewport width of the screen So made the below body go overflow-x auto and resources page was taking 80% of the width which is okay on desktop but on mobile it should take 100% width put a media quer for it.

Fixes #34163

PR Close #34188
This commit is contained in:
ajitsinghkaler 2019-12-05 21:33:19 +05:30 committed by Andrew Kushnir
parent de62d8ebdb
commit 421dba0184
3 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<h1 class="banner-headline no-toc no-anchor">Events</h1>
</header>
<article>
<article class="events-container">
<p>Where we'll be presenting:</p>
<table class="is-full-width">
<thead>

View File

@ -439,3 +439,7 @@ div[layout=row]{
.page-features .marketing-banner {
margin-bottom: 20px;
}
.events-container{
overflow-x: auto;
}

View File

@ -1,5 +1,8 @@
.showcase {
width: 80%;
@media (max-width: 600px) {
width: 100%;
}
}
.c-resource-nav {