mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: logo scalling to support squarish logos (#5647)
Also improve text alignment
This commit is contained in:
committed by
Neil Lathwood
parent
6fcf28266a
commit
5d1d4cd2ed
@@ -1580,8 +1580,13 @@ tr.search:nth-child(odd) {
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
padding-left: 15px !important;
|
||||
padding-top: 8px !important;
|
||||
padding: 8px 15px 8px 15px !important;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
.navbar-brand img {
|
||||
height: 100%;
|
||||
max-width: 170px;
|
||||
}
|
||||
|
||||
#visualization {
|
||||
|
||||
@@ -37,7 +37,7 @@ if (isset($config['site_style']) && ($config['site_style'] == 'dark' || $config[
|
||||
<?php
|
||||
|
||||
if ($config['title_image']) {
|
||||
echo('<a class="hidden-md hidden-sm navbar-brand" href=""><img width="170px" src="' . $config['title_image'] . '" /></a>');
|
||||
echo('<a class="hidden-md hidden-sm navbar-brand" href=""><img src="' . $config['title_image'] . '" /></a>');
|
||||
} else {
|
||||
echo('<a class="hidden-md hidden-sm navbar-brand" href="">'.$config['project_name'].'</a>');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user