diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-06-23 19:42:19 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-06-23 19:42:19 +0200 |
commit | 08f244229c8ea159d1fdae72388cfdbd78cd6db9 (patch) | |
tree | fe34f9ac0600ba11a71bc6fa2a446fc21733d8d0 /phpBB | |
parent | dfbe072d5132ff3110131cf219826cdd26ddd4b1 (diff) | |
parent | d3db8b6565763f2d3ba9224051fe7b2d53389dd3 (diff) | |
download | forums-08f244229c8ea159d1fdae72388cfdbd78cd6db9.tar forums-08f244229c8ea159d1fdae72388cfdbd78cd6db9.tar.gz forums-08f244229c8ea159d1fdae72388cfdbd78cd6db9.tar.bz2 forums-08f244229c8ea159d1fdae72388cfdbd78cd6db9.tar.xz forums-08f244229c8ea159d1fdae72388cfdbd78cd6db9.zip |
Merge pull request #2609 from VSEphpbb/ticket/12728
[ticket/12728] Enforce box model sizing on image attachment thumbnails
* VSEphpbb/ticket/12728:
[ticket/12728] Adjust .postimage sizing to 100%
[ticket/12728] Enforce box model sizing on image attachment thumbnails
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/styles/prosilver/theme/content.css | 3 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/theme/stylesheet.css | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index 0a0e853db2..b99312a5be 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -267,7 +267,7 @@ dd.option { } .postbody img.postimage { - max-width: 99%; + max-width: 100%; } .search .postbody { @@ -602,6 +602,7 @@ dl.file dd { dl.thumbnail img { padding: 3px; border: 1px solid transparent; + box-sizing: border-box; } dl.thumbnail dd { diff --git a/phpBB/styles/subsilver2/theme/stylesheet.css b/phpBB/styles/subsilver2/theme/stylesheet.css index 596ebdc29f..3c7ff23db5 100644 --- a/phpBB/styles/subsilver2/theme/stylesheet.css +++ b/phpBB/styles/subsilver2/theme/stylesheet.css @@ -632,7 +632,7 @@ input:focus, select:focus, textarea:focus { } .postimage { - max-width: 99%; + max-width: 100%; } .syntaxbg { |