Skip to content

Commit 59149b1

Browse files
committed
set height on tr to avoid jumping when images load
1 parent 8d3ac25 commit 59149b1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

_includes/org-table.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ <h3 id="{{ include.id }}" class="search-section">Return to <a href="#to-top">top
44
{% endunless %}
55
<h2>{{ include.name }}</h2>
66
<h6 class="no-matches" style="display: none;">No matches.</h6>
7-
<table class="table">
7+
<table class="table org-table">
88
<tbody class="searchable">
99
<tr class="table-header"><th>Avatar</th><th>Account</th><th>Affiliation</th></tr>
1010
{% for type_hash in include.orgs %}

assets/css/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ code {
325325
color: #333;
326326
}
327327

328+
.org-table tr { height: 57px; }
329+
328330
/* Animations */
329331
/* -------------------------------------------------------------------------- */
330332

0 commit comments

Comments
 (0)