css: Extract realm logo max width as a variable.

This commit is contained in:
Aman Agrawal
2025-02-27 11:05:40 +00:00
committed by Tim Abbott
parent 60c6af2ab4
commit a3d591b337
2 changed files with 2 additions and 1 deletions

View File

@@ -1068,7 +1068,7 @@ nav {
.nav-logo {
display: inline-block;
height: 1.25em; /* 20px at 16px em */
max-width: 12.5em; /* 200px at 16px em */
max-width: var(--realm-logo-max-width);
@media (height < $short_navbar_cutoff_height) {
height: 0.9375em; /* 15px at 16px em */