Skip to content

Commit

Permalink
Merge pull request #715 from stephenplusplus/spp--site-fix-lang-switc…
Browse files Browse the repository at this point in the history
…her-issues

site: fix language switcher display issues
  • Loading branch information
stephenplusplus committed Jul 10, 2015
2 parents a78d438 + 30febcb commit 376cb9f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/site/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,11 @@ ul {
transition: all 0.3s ease;
}

.language-switcher--home .menu {
position: absolute;
bottom: initial;
}

.page-header.fixed .menu {
top: 3.3em;
}
Expand Down Expand Up @@ -1425,6 +1430,10 @@ ul {
/*
Menu
*/
.menu {
position: absolute;
}

.main-nav {
position: absolute;
top: 1.2em;
Expand Down
2 changes: 1 addition & 1 deletion docs/site/home.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<header class="page-header" role="banner">
<h1 class="logo"><img src="site/img/logo-full.svg" alt="Google Cloud Platform" /></h1>
<div language-switcher></div>
<div language-switcher class="language-switcher--home"></div>
</header><!-- end of .page-header -->

<article class="main" role="main">
Expand Down

0 comments on commit 376cb9f

Please sign in to comment.