From fa5a5b2998cf9b823f0f2308a8550f941b368ef0 Mon Sep 17 00:00:00 2001 From: Ben Pennell Date: Tue, 24 Oct 2023 09:18:05 -0400 Subject: [PATCH 1/2] Fix user links menu running off the right side of the page by right aligning it --- app/assets/stylesheets/unc_custom.css.scss | 7 ------- app/views/_user_util_links.html.erb | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/app/assets/stylesheets/unc_custom.css.scss b/app/assets/stylesheets/unc_custom.css.scss index 5a51d31fa..8434ea2fd 100644 --- a/app/assets/stylesheets/unc_custom.css.scss +++ b/app/assets/stylesheets/unc_custom.css.scss @@ -99,13 +99,6 @@ span.institution_name { } } -#top-navbar-collapse { - .dropdown-menu { - margin: 0 -50px; - text-align: center; - } -} - .advanced_search { float: right; margin: 0.5rem 1rem 0 0; diff --git a/app/views/_user_util_links.html.erb b/app/views/_user_util_links.html.erb index c7b796d3f..eea386f2a 100644 --- a/app/views/_user_util_links.html.erb +++ b/app/views/_user_util_links.html.erb @@ -16,7 +16,7 @@ <%= current_user.name %> <%= t("hyrax.toolbar.profile.sr_target") %> -