From 1adea2e18e9c29f7e6c4071201261940e50b0f46 Mon Sep 17 00:00:00 2001 From: CasparA Date: Mon, 25 Jul 2016 11:40:32 +0200 Subject: [PATCH] [FIX] Router Bilder (img-box) und Logos (logo-box) haben nun getrennte CSS Eigenschaften --- css/styles.css | 8 ++++++++ firmware.php | 2 +- index.php | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/css/styles.css b/css/styles.css index 6ce80fc..5d298b1 100644 --- a/css/styles.css +++ b/css/styles.css @@ -28,7 +28,15 @@ body { } .img-box { + height: 175px; + width: 175px; + object-fit: contain; + margin: 5px; +} + +.logo-box { height: 200px; + width: 400px; object-fit: contain; margin: 5px; } diff --git a/firmware.php b/firmware.php index bc2edb1..11819e4 100644 --- a/firmware.php +++ b/firmware.php @@ -304,7 +304,7 @@ $community_id = $_REQUEST['id'];
- <?php echo $community[$community_id]['logo_alt']?> + <?php echo $community[$community_id]['logo_alt']?>

diff --git a/index.php b/index.php index 2a1d9fc..ff95271 100644 --- a/index.php +++ b/index.php @@ -95,7 +95,7 @@ if (count($community) == 1) {

- <?php echo $community[0]['logo_alt']?> + <?php echo $community[0]['logo_alt']?>