[FIX] Router Bilder (img-box) und Logos (logo-box) haben nun getrennte CSS Eigenschaften

This commit is contained in:
CasparA 2016-07-25 11:40:32 +02:00
parent 6b9ffb4351
commit 1adea2e18e
3 changed files with 10 additions and 2 deletions

View File

@ -28,7 +28,15 @@ body {
} }
.img-box { .img-box {
height: 175px;
width: 175px;
object-fit: contain;
margin: 5px;
}
.logo-box {
height: 200px; height: 200px;
width: 400px;
object-fit: contain; object-fit: contain;
margin: 5px; margin: 5px;
} }

View File

@ -304,7 +304,7 @@ $community_id = $_REQUEST['id'];
<div class="jumbotron"> <div class="jumbotron">
<div class="container"> <div class="container">
<div class="col-xs-12"> <div class="col-xs-12">
<img src="<?php echo $community[$community_id]['logo_url']?>" alt="<?php echo $community[$community_id]['logo_alt']?>" class="pull-right img-box" /> <img src="<?php echo $community[$community_id]['logo_url']?>" alt="<?php echo $community[$community_id]['logo_alt']?>" class="pull-right logo-box" />
<h2><?php echo $community[$community_id]['head_titel']?></h2> <h2><?php echo $community[$community_id]['head_titel']?></h2>
<p><?php echo $community[$community_id]['head_text']?></p> <p><?php echo $community[$community_id]['head_text']?></p>
<p> <p>

View File

@ -95,7 +95,7 @@ if (count($community) == 1) {
<div class="jumbotron"> <div class="jumbotron">
<div class="container"> <div class="container">
<div class="col-xs-12"> <div class="col-xs-12">
<img src="<?php echo $community[0]['logo_url']?>" alt="<?php echo $community[0]['logo_alt']?>" class="pull-right img-box" /> <img src="<?php echo $community[0]['logo_url']?>" alt="<?php echo $community[0]['logo_alt']?>" class="pull-right logo-box" />
<h2><?php echo $community[0]['head_titel']?></h2> <h2><?php echo $community[0]['head_titel']?></h2>
<p><?php echo $community[0]['head_text']?></p> <p><?php echo $community[0]['head_text']?></p>
<p> <p>