From 15ef05f4d9d628ec4c0a90128d1cfed6817ed5c8 Mon Sep 17 00:00:00 2001 From: MariaAga Date: Wed, 6 Dec 2023 15:36:52 +0100 Subject: [PATCH] Add scrollbar to read eol banner --- app/assets/stylesheets/foreman_theme_satellite/theme.scss | 4 ++++ app/overrides/layouts/base/eol_banner.html.erb.deface | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/foreman_theme_satellite/theme.scss b/app/assets/stylesheets/foreman_theme_satellite/theme.scss index 7ec8687..c45b662 100644 --- a/app/assets/stylesheets/foreman_theme_satellite/theme.scss +++ b/app/assets/stylesheets/foreman_theme_satellite/theme.scss @@ -13,6 +13,10 @@ } } +#satellite-eol-banner .eol-banner-content { + overflow-x: auto; +} + #rails-app-content { --header-height: 70px; top: var(--header-height); diff --git a/app/overrides/layouts/base/eol_banner.html.erb.deface b/app/overrides/layouts/base/eol_banner.html.erb.deface index f058e7f..9ab4db5 100644 --- a/app/overrides/layouts/base/eol_banner.html.erb.deface +++ b/app/overrides/layouts/base/eol_banner.html.erb.deface @@ -19,7 +19,7 @@ end %> <% else %> <%= text % { date: data[:end_of_life].to_date, version: data[:short_version] } %> <% end %> -
+
<%= _("For up to date information about Satellite's lifecycle see ") %><%= _("Red Hat Satellite Product Life Cycle") %>. <%= _("Kindly plan to upgrade Satellite to the supported version, for upgrade guidance see ") %><%= _("Red Hat Satellite Upgrade Helper") %>.