Merge pull request #5273 from opf/fix/24883-table-border-missing-for-unsortable-headers

[24883] Table border missing for unsortable headers (Core)
pull/5277/head
Oliver Günther 8 years ago committed by GitHub
commit e16a8544ec
  1. 6
      app/assets/stylesheets/content/_table.sass
  2. 5
      app/views/custom_fields/_custom_options.html.erb
  3. 8
      app/views/repositories/_revisions.html.erb
  4. 8
      app/views/wiki/history.html.erb

@ -218,6 +218,11 @@ table.generic-table
&.hover
background: #f8f8f8
&.-hidden-content
.generic-table--header,
.generic-table--sort-header
visibility: hidden
.generic-table--empty-header
padding: 0 6px
height: calc(#{$generic-table--header-height} + 1px)
@ -231,6 +236,7 @@ table.generic-table
height: 0px
line-height: 0px
.generic-table--header,
.generic-table--sort-header
white-space: nowrap
width: 100%

@ -34,7 +34,10 @@
</div>
</div>
</th>
<th style="max-width:200px;"></th>
<th style="max-width:200px;">
<div class="generic-table--empty-header">
</div>
</th>
</tr>
</thead>
<% custom_options = [OpenStruct.new(id: 0, value: "", default_value: false)] if custom_options.empty? %>

@ -59,8 +59,8 @@ See doc/COPYRIGHT.rdoc for more details.
</div>
</th>
<th>
<div class="generic-table--sort-header-outer hidden-for-sighted">
<div class="generic-table--sort-header">
<div class="generic-table--header-outer -hidden-content">
<div class="generic-table--header">
<span>
<%= t(:description_compare_from) + ' ' + t(:label_changeset) %>
</span>
@ -68,8 +68,8 @@ See doc/COPYRIGHT.rdoc for more details.
</div>
</th>
<th>
<div class="generic-table--sort-header-outer hidden-for-sighted">
<div class="generic-table--sort-header">
<div class="generic-table--header-outer -hidden-content">
<div class="generic-table--header">
<span>
<%= t(:description_compare_to) + ' ' + t(:label_changeset) %>
</span>

@ -63,8 +63,8 @@ See doc/COPYRIGHT.rdoc for more details.
</th>
</th>
<th>
<div class="generic-table--sort-header-outer hidden-for-sighted">
<div class="generic-table--sort-header">
<div class="generic-table--header-outer -hidden-content">
<div class="generic-table--header">
<span>
<%= t(:description_compare_from) + ' ' + t(:label_version) %>
</span>
@ -72,8 +72,8 @@ See doc/COPYRIGHT.rdoc for more details.
</div>
</th>
<th>
<div class="generic-table--sort-header-outer hidden-for-sighted">
<div class="generic-table--sort-header">
<div class="generic-table--header-outer -hidden-content">
<div class="generic-table--header">
<span>
<%= t(:description_compare_to) + ' ' + t(:label_version) %>
</span>

Loading…
Cancel
Save