Skip to content

Commit

Permalink
update font size (google#1628)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismgeorge authored Oct 12, 2020
1 parent 46c7fd8 commit 4febd80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ <h4></h4>
<example-snippet stamp-to="demo-container-5" highlight-as="html">
<template>
<div class="background-demo" style="background: linear-gradient(#ffffff, #ada996);">
<span style="position: absolute; text-align: center; font-size: 140px; top:50%;">Background</span>
<span style="position: absolute; text-align: center; font-size: 100px; top:50%;">Background</span>
<model-viewer camera-controls src="../../shared-assets/models/glTF-Sample-Models/2.0/AlphaBlendModeTest/glTF-Binary/AlphaBlendModeTest.glb" alt="A 3D transparency test" style="background-color: unset;"></model-viewer>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion packages/modelviewer.dev/styles/examples.css
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ model-viewer:focus {
}

.sample pre {
font-size: 1em;
font-size: .8em;
line-height: 1.6em;
padding: var(--pre-padding);
max-width: 960px;
Expand Down

0 comments on commit 4febd80

Please sign in to comment.