Bug 566427 - Missing Working Group logos
Updated styles of SVG images to set an explicit width to avoid rendering
issues with Firefox + Chromeium-based browsers.
Change-Id: I61d5a660a895d65d2b98351388adf88cecacdf21
Signed-off-by: Martin Lowe <martin.lowe@eclipse-foundation.org>
diff --git a/workinggroups/assets/inc/app.php b/workinggroups/assets/inc/app.php
index 960bc23..8c3cfd1 100644
--- a/workinggroups/assets/inc/app.php
+++ b/workinggroups/assets/inc/app.php
@@ -32,7 +32,7 @@
'mailing-list' => 'https://accounts.eclipse.org/mailing-list/ecd-tools-wg',
'type' => $active_state,
'join' => 'https://accounts.eclipse.org/contact/membership/ecdtools',
- 'style' => 'max-width:190px;max-height:60px;width:100%;',
+ 'style' => 'width:190px;max-height:60px;;',
'members' => 'https://ecdtools.eclipse.org/#members'
);
@@ -147,7 +147,7 @@
'wiki' => 'http://wiki.eclipse.org/Machine-to-Machine',
'type' => $active_state,
'join' => 'https://accounts.eclipse.org/contact/membership/iot',
- 'style' => 'max-width:135px;max-height:55px;width:100%',
+ 'style' => 'width:135px;max-height:55px;',
'members' => 'https://iot.eclipse.org/membership/members/'
);
@@ -216,7 +216,7 @@
'mailing-list' => '',
'type' => $active_state,
'join' => 'https://accounts.eclipse.org/contact/membership',
- 'style' => 'max-width:220px;max-height:77px;width:100%',
+ 'style' => 'width:220px;max-height:77px;',
'members' => 'https://edgenative.eclipse.org/#members'
);
@@ -366,7 +366,7 @@
$styles = "max-width:150px;max-height:60px;";
// fixes issues w/ flex and unset height/width on svg items
if (strpos($g['logo'], '.svg')) {
- $styles = $styles . "width:100%;";
+ $styles = "width:150px; max-height:60px;";
}
if (!empty($g['style'])) {
$styles = $g['style'];