[gimp-web/testing] Fixed image width problem in FF (no scaling right)
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Fixed image width problem in FF (no scaling right)
- Date: Sat, 28 Nov 2015 02:30:36 +0000 (UTC)
commit e99cae6420fb59f615310c9e54db598868214f9e
Author: Pat David <pat patdavid net>
Date: Fri Nov 27 20:28:17 2015 -0600
Fixed image width problem in FF (no scaling right)
In page.css, gimp.css, article.css I had image elements
width: initial (there was a reason I did this, just not sure
what that reason was...).
I reset <img> elements to have width: 100% to fill container.
themes/newgimp/static/css/gimp.css | 2 +-
themes/newgimp/static/css/page.css | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/themes/newgimp/static/css/gimp.css b/themes/newgimp/static/css/gimp.css
index ca39557..10d342b 100644
--- a/themes/newgimp/static/css/gimp.css
+++ b/themes/newgimp/static/css/gimp.css
@@ -265,7 +265,7 @@ img {
display: initial;
height: initial;
margin: 0;
- width: initial;
+ /* width: initial; */
max-width: 100%;
}
diff --git a/themes/newgimp/static/css/page.css b/themes/newgimp/static/css/page.css
index d14ee8c..803300e 100644
--- a/themes/newgimp/static/css/page.css
+++ b/themes/newgimp/static/css/page.css
@@ -75,7 +75,7 @@ figure {
}
figure img {
- width: initial;
+ /* width: initial; */
max-width: 100%;
/* margin-bottom: 0.5rem;
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]