From 41dd5f6e18213e6041900b058817a1951caca177 Mon Sep 17 00:00:00 2001 From: Per Jensen Date: Sat, 22 Dec 2012 09:16:42 +0100 Subject: Prevent distortion of image --- views/default/css/elements/typography.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/default/css') diff --git a/views/default/css/elements/typography.php b/views/default/css/elements/typography.php index d93b28d2c..4c2c3c774 100644 --- a/views/default/css/elements/typography.php +++ b/views/default/css/elements/typography.php @@ -157,5 +157,6 @@ h6 { font-size: 0.8em; } padding: 3px 5px; } .elgg-output img { - max-width: 100%; + max-width: 100%; + height: auto; } \ No newline at end of file -- cgit v1.2.3 From b9d52537492bc6bd3e5d308c055635cc072612cf Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 26 Jan 2013 14:16:51 -0500 Subject: fixed some formatting issues in CSS files --- mod/groups/views/default/groups/css.php | 4 ++-- views/default/css/elements/layout.php | 2 +- views/default/css/elements/modules.php | 2 +- views/default/css/elements/typography.php | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'views/default/css') diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php index f475f7d9e..6f710ddab 100644 --- a/mod/groups/views/default/groups/css.php +++ b/mod/groups/views/default/groups/css.php @@ -10,8 +10,8 @@ margin-right: 10px; } .groups-profile img { - width: 100%; - height: auto; + width: 100%; + height: auto; } .groups-stats { background: #eeeeee; diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php index 25a2bffb7..9d92752b4 100644 --- a/views/default/css/elements/layout.php +++ b/views/default/css/elements/layout.php @@ -118,4 +118,4 @@ } .elgg-page-footer a:hover { color: #666; -} \ No newline at end of file +} diff --git a/views/default/css/elements/modules.php b/views/default/css/elements/modules.php index 74092c774..a37ae094b 100644 --- a/views/default/css/elements/modules.php +++ b/views/default/css/elements/modules.php @@ -191,4 +191,4 @@ a.elgg-widget-collapsed:before { .elgg-widget-placeholder { border: 2px dashed #dedede; margin-bottom: 15px; -} \ No newline at end of file +} diff --git a/views/default/css/elements/typography.php b/views/default/css/elements/typography.php index 4c2c3c774..c044cb1cc 100644 --- a/views/default/css/elements/typography.php +++ b/views/default/css/elements/typography.php @@ -157,6 +157,6 @@ h6 { font-size: 0.8em; } padding: 3px 5px; } .elgg-output img { - max-width: 100%; - height: auto; -} \ No newline at end of file + max-width: 100%; + height: auto; +} -- cgit v1.2.3