Skip to content

Commit

Permalink
Add scrollbar to read eol banner
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga authored and evgeni committed Dec 12, 2023
1 parent 2edab1e commit 15ef05f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/foreman_theme_satellite/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
}
}

#satellite-eol-banner .eol-banner-content {
overflow-x: auto;
}

#rails-app-content {
--header-height: 70px;
top: var(--header-height);
Expand Down
2 changes: 1 addition & 1 deletion app/overrides/layouts/base/eol_banner.html.erb.deface
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ end %>
<% else %>
<%= text % { date: data[:end_of_life].to_date, version: data[:short_version] } %>
<% end %>
<div>
<div class="eol-banner-content">
<%= _("For up to date information about Satellite's lifecycle see ") %><a href="https://access.redhat.com/support/policy/updates/satellite"><%= _("Red Hat Satellite Product Life Cycle") %></a>.
<%= _("Kindly plan to upgrade Satellite to the supported version, for upgrade guidance see ") %><a href="<%= ForemanThemeSatellite.documentation_server %>/labsinfo/satelliteupgradehelper "><%= _("Red Hat Satellite Upgrade Helper") %>.
</div>
Expand Down

0 comments on commit 15ef05f

Please sign in to comment.