diff --git a/codelab-elements/google-codelab/google_codelab.scss b/codelab-elements/google-codelab/google_codelab.scss index 4d2c0cc73..41a94ba43 100644 --- a/codelab-elements/google-codelab/google_codelab.scss +++ b/codelab-elements/google-codelab/google_codelab.scss @@ -49,6 +49,7 @@ google-codelab #codelab-title { padding: 0 36px 0 16px; -webkit-font-smoothing: antialiased; z-index: 1000; + max-width: 100vw; } google-codelab #codelab-title h1 { @@ -120,6 +121,7 @@ google-codelab #controls { google-codelab #fabs { display: flex; justify-content: space-between; + margin: 0 auto; max-width: 1025px; } @@ -197,6 +199,10 @@ google-codelab .metadata a:focus { padding-top: 0; } + google-codelab #codelab-title { + padding: 0 16px; + } + google-codelab #codelab-title .codelab-time-container { display: none; }