Skip to content

Commit

Permalink
Merge pull request #219 from plone/fulv-patch-1
Browse files Browse the repository at this point in the history
Update image_view_fullscreen.pt for mobile friendliness
  • Loading branch information
thet committed Mar 29, 2015
2 parents 6da9864 + 1e6fb9f commit f6b459a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/CHANGES.rst
Expand Up @@ -4,7 +4,8 @@ Changelog
1.2a8 (unreleased)
------------------

- Nothing changed yet.
- Update image_view_fullscreen.pt for mobile friendliness.
[fulv]


1.2a7 (2015-03-27)
Expand Down
Expand Up @@ -7,6 +7,7 @@
i18n:domain="plone">
<head>
<metal:block tal:define="dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;;charset=utf-8')" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title tal:content="context/Title">Title</title>
<style type="text/css" media="screen">
body {
Expand All @@ -17,6 +18,11 @@
padding:0;
margin:0;
}
@media screen and (max-width: 768px) {
body {
font-size: 100%;
}
}
a {
color: #08c;
text-decoration: none;
Expand All @@ -32,6 +38,7 @@
border: 0;
display:block;
margin:0 auto;
max-width: 100%; height: auto;
}
</style>
</head>
Expand Down

0 comments on commit f6b459a

Please sign in to comment.