Skip to content

Commit 636b5b2

Browse files
committed
✨ Example Updates for Places Demo
1 parent 70c30fb commit 636b5b2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

examples/css/countries.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ table tbody tr.highlight { background-color: yellow; }
140140

141141
/* Table Sticky Header and First Column */
142142
table { position: relative; }
143-
th { position: sticky; top:0; background-color: hsla(210, 29%, 93%, 1); z-index:2; }
143+
th { position: sticky; top:-1px; background-color: hsla(210, 29%, 93%, 1); z-index:2; }
144+
table thead tr th:first-child { z-index: 3; left: 0; }
144145
table tbody tr td:first-child { position: sticky; left:0; z-index:1; }
145146
table tbody tr:nth-child(odd) td:first-child { background-color: white; }
146147
table tbody tr:nth-child(even) td:first-child { background-color: #f6f8fa; }

examples/html/regions-web.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h1><span>Regions for Country Code</span> <span url-param="country"></span></h1>
5050
<i class="${country.country_code.toLowerCase()} flag"></i>
5151
<a href="#/${i18n_Locale}/cities/${country.country_code}/${country.admin1_code}">${country.admin1_code}</a>
5252
</td>
53-
<td>${name}</td>
53+
<td>${country.name}</td>
5454
<td class="align-right" data-value="${country.population}">${format.number(country.population)}</td>
5555
<td>${country.timezone}</td>
5656
<td class="align-right">${format.date(country.modification_date)}</td>

0 commit comments

Comments
 (0)