Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/pull/4658'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Apr 7, 2024
2 parents 6af24a4 + f3a9d2e commit 0c4cbda
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
12 changes: 8 additions & 4 deletions app/assets/stylesheets/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -719,10 +719,6 @@ tr.turn:hover {

/* Rules for non-map content pages */

.content-heading {
background: $lightgrey;
}

.content-inner {
position: relative;
max-width: 960px;
Expand Down Expand Up @@ -1067,4 +1063,12 @@ div.secondary-actions {
}
}

/* Rules for tabs inside secondary background sections */

.bg-body-secondary .nav-tabs {
--bs-border-color: var(--bs-secondary-border-subtle);
--bs-secondary-bg: var(--bs-secondary-border-subtle);
margin-bottom: -1px;
}

@import 'browse';
2 changes: 0 additions & 2 deletions app/assets/stylesheets/parameters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@ $link-hover-color: #24d;
$link-decoration: none;
$link-hover-decoration: underline;

$table-striped-bg: $offwhite;

$enable-negative-margins: true;
2 changes: 1 addition & 1 deletion app/views/layouts/_content.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<% else %>
<%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
<% if content_for? :heading %>
<div class="content-heading">
<div class="content-heading bg-body-secondary border-bottom border-secondary-subtle">
<div class="content-inner <%= yield :heading_class %>">
<%= yield :heading %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/traces/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<% end %>

<li class="nav-item ms-auto">
<div class="nav-link pe-0">
<div class="nav-link pe-0 border-0">
<%= link_to({ :action => :georss, :display_name => @target_user&.display_name, :tag => params[:tag] }, { :class => "btn btn-secondary btn-sm my-n2 align-baseline border-0" }) do %>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" class="align-text-bottom">
<circle cx="2" cy="14" r="2" fill="white" />
Expand Down

0 comments on commit 0c4cbda

Please sign in to comment.