Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 46dd52f

Browse files
committed
Extend templates and elements for codelab timestamps.
1 parent a0f5b73 commit 46dd52f

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

codelab-style.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,13 @@
202202
bottom: 16px;
203203
}
204204

205+
#last-updated {
206+
color: var(--google-codelab-footer-text-color);
207+
font-size: 0.9em;
208+
position: fixed;
209+
bottom: 32px;
210+
}
211+
205212
#feedback a {
206213
color: currentcolor;
207214
}

google-codelab.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@
8484
</div>
8585
</template>
8686

87+
<template is="dom-if" if="{{lastUpdated}}" strip-whitespace>
88+
<div id="last-updated">
89+
Last updated on <span>{{lastUpdated}}</span>
90+
</div>
91+
</template>
92+
8793
</div>
8894

8995
<paper-scroll-header-panel id="headerpanel" fixed main>

0 commit comments

Comments
 (0)