[gimp-web/gimp-web-static] Style figure > img to have max-height: 100vh
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/gimp-web-static] Style figure > img to have max-height: 100vh
- Date: Sat, 21 Nov 2015 15:33:32 +0000 (UTC)
commit dae8b0b31f737acf61c4b56da98d986ba9cb6d7b
Author: Pat David <pat patdavid net>
Date: Sat Nov 21 09:33:28 2015 -0600
Style figure > img to have max-height: 100vh
content/news/2015-11-18 20-years-of-gimp.md | 2 +-
themes/newgimp/static/css/article.css | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/content/news/2015-11-18 20-years-of-gimp.md b/content/news/2015-11-18 20-years-of-gimp.md
index f99222f..b50924e 100644
--- a/content/news/2015-11-18 20-years-of-gimp.md
+++ b/content/news/2015-11-18 20-years-of-gimp.md
@@ -11,5 +11,5 @@ This is a placeholder to announce 20 years of GIMP! Yay!
</figure>
<figure>
-<img src='{filename}images/birthday2.png' alt='Wilber Birthday Snapshot' width='200'/>
+<img src='{filename}images/birthday2.png' alt='Wilber Birthday Snapshot' style='width:500px;' />
</figure>
diff --git a/themes/newgimp/static/css/article.css b/themes/newgimp/static/css/article.css
index 63a2f82..8869102 100644
--- a/themes/newgimp/static/css/article.css
+++ b/themes/newgimp/static/css/article.css
@@ -47,4 +47,5 @@ figure {
figure img {
width: initial;
max-width: 100%;
+ max-height: 100vh;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]