[Scummvm-git-logs] scummvm-web master -> 43d0e41071ba22b4267b8417f4082d40e4162f80

Mataniko mataniko at gmail.com
Mon Jul 2 01:17:20 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
43d0e41071 WEB: Correctly float images in news articles


Commit: 43d0e41071ba22b4267b8417f4082d40e4162f80
    https://github.com/scummvm/scummvm-web/commit/43d0e41071ba22b4267b8417f4082d40e4162f80
Author: Matan Bareket (mataniko at gmail.com)
Date: 2018-07-01T19:17:07-04:00

Commit Message:
WEB: Correctly float images in news articles

Changed paths:
    css/layout.css
    templates/news.tpl


diff --git a/css/layout.css b/css/layout.css
index 0ffcd43..2e23f90 100644
--- a/css/layout.css
+++ b/css/layout.css
@@ -334,6 +334,10 @@ nav {
 	top: -8px;
 }
 
+.box .content.news img {
+    float: right;
+}
+
 .round-box {
 	margin: 8px;
 }
diff --git a/templates/news.tpl b/templates/news.tpl
index 5fc5b77..27c440a 100644
--- a/templates/news.tpl
+++ b/templates/news.tpl
@@ -16,7 +16,7 @@
 			{$news->getTitle()}
 		</a>
 	</div>
-	<div class="content">
+	<div class="news content">
 		<div class="news-author">
 			{#newsPostedBy#} {$news->getAuthor()}
 		</div>





More information about the Scummvm-git-logs mailing list