diff --git a/static/navbar.css b/static/navbar.css index 7f182198600050dd809cc4af99d109a551cca349..b01c2e1d41eb640172d34c78b66bbd9b0b290a94 100644 --- a/static/navbar.css +++ b/static/navbar.css @@ -132,12 +132,9 @@ body{ .my-navbar{ margin-top: 21px; } - .my-nav .icon{ - flex-basis: 150px; - margin-left: 5px; - background-position-x: -25px; - background-position-y: 5px; - background-size: 130%; + .my-nav .icon { + background-size: contain; /* Ensure the logo fits within the container */ + background-position: center; /* Center the logo within the container */ } .my-nav{ height: 70px;