logo max size 50px
This commit is contained in:
1 parent
219eaf0584
commit
f27c340fdc
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -100,7 +100,7 @@ if ($theme === 'dark' || in_array('dark-background-active', $body_classes)) {
|
||||
<nav class="navbar navbar-expand-lg">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="index.php">
|
||||
<img src="<?php echo htmlspecialchars($settings['site_logo'] ?? 'include/images/favicon.ico'); ?>" alt="<?php echo htmlspecialchars($settings['site_title'] ?? 'Bookmarkly'); ?> Logo" height="<?php echo htmlspecialchars($settings['logo_height'] ?? '30'); ?>">
|
||||
<img src="<?php echo htmlspecialchars($settings['site_logo'] ?? 'include/images/favicon.ico'); ?>" alt="<?php echo htmlspecialchars($settings['site_title'] ?? 'Bookmarkly'); ?> Logo" height="<?php echo htmlspecialchars($settings['logo_height'] ?? '50'); ?>">
|
||||
<?php if (($settings['display_site_title'] ?? '1') === '1'): ?>
|
||||
<?php echo htmlspecialchars($settings['site_title'] ?? 'Bookmarkly'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -59,7 +59,7 @@ require_once 'include/header.php';
|
||||
?>
|
||||
|
||||
<?php if (!empty($logo_path)): ?>
|
||||
<img src="<?php echo htmlspecialchars($logo_path); ?>" alt="<?php echo $site_title; ?> Logo" style="max-height: <?php echo htmlspecialchars($settings['logo_height'] ?? '30'); ?>px;" class="d-inline-block align-middle me-2">
|
||||
<img src="<?php echo htmlspecialchars($logo_path); ?>" alt="<?php echo $site_title; ?> Logo" style="max-height: <?php echo htmlspecialchars($settings['logo_height'] ?? '50'); ?>px;" class="d-inline-block align-middle me-2">
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($display_title || empty($logo_path)): ?>
|
||||
|
||||
+1
-1
@@ -270,7 +270,7 @@ require_once 'include/header.php';
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="logo_height" class="form-label">Logo Height: <span id="logo_height_value"><?php echo htmlspecialchars($settings['logo_height'] ?? '30'); ?>px</span></label>
|
||||
<input type="range" class="form-range" min="10" max="30" id="logo_height" name="logo_height" value="<?php echo htmlspecialchars($settings['logo_height'] ?? '30'); ?>" oninput="document.getElementById('logo_height_value').textContent = this.value + 'px';">
|
||||
<input type="range" class="form-range" min="10" max="50" id="logo_height" name="logo_height" value="<?php echo htmlspecialchars($settings['logo_height'] ?? '30'); ?>" oninput="document.getElementById('logo_height_value').textContent = this.value + 'px';">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="site_favicon" class="form-label">Site Favicon</label>
|
||||
|
||||
Reference in new issue
Block a user