diff --git a/changes/10790-uneven-org-logo b/changes/10790-uneven-org-logo new file mode 100644 index 0000000000..c954469adf --- /dev/null +++ b/changes/10790-uneven-org-logo @@ -0,0 +1 @@ +- Fixed an issue where custom org logos might be displayed off-center diff --git a/frontend/components/top_nav/SiteTopNav/_styles.scss b/frontend/components/top_nav/SiteTopNav/_styles.scss index a4ed17ee0c..706a54e8b5 100644 --- a/frontend/components/top_nav/SiteTopNav/_styles.scss +++ b/frontend/components/top_nav/SiteTopNav/_styles.scss @@ -3,6 +3,7 @@ display: flex; justify-content: space-between; align-items: center; + padding-left: 2px; } .site-nav-list { @@ -72,6 +73,10 @@ text-decoration: none; } + &__logo-wrapper { + overflow: hidden; + } + &__logo { text-align: center; display: flex; @@ -86,7 +91,7 @@ background-color: $site-nav-on-hover; &::after { - content: ''; + content: ""; position: absolute; bottom: 0; left: 0; diff --git a/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx b/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx index 10a5d5332b..e2ba7f345f 100644 --- a/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx +++ b/frontend/pages/hosts/details/DeviceUserPage/DeviceUserPage.tsx @@ -441,11 +441,15 @@ const DeviceUserPage = ({ return (
-